Premier battement d’Orin.
La forge est allumée, la roche est chauffée, les outils sont prêts. Sous l’œil du goéland et le souffle de l’hermine, la première pierre d’Erminig est posée. Ce n’est qu’un début. Le vent tourne, la mer se lève.
This commit is contained in:
commit
297a61b943
8 changed files with 2885 additions and 0 deletions
33
INSTRUCTIONS.md
Normal file
33
INSTRUCTIONS.md
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Contruction de l'image
|
||||
```
|
||||
docker build -t build-lfs:0.1 .
|
||||
```
|
||||
|
||||
# Creation d'un système temporaire
|
||||
```
|
||||
docker run -it --rm --privileged -v ./build:/mnt/lfs build-lfs:0.1 /bin/bash /lfs-12.2.sh`
|
||||
```
|
||||
|
||||
|
||||
# Compilation de Orin
|
||||
```
|
||||
docker run -it --rm --privileged -v ./build:/mnt/lfs build-lfs:0.1 /bin/bash
|
||||
mkdir /mnt/lfs/dev/pts
|
||||
mount -t devpts none /mnt/lfs/dev/pts
|
||||
mknod -m 666 /mnt/lfs/dev/ptmx
|
||||
chroot /mnt/lfs
|
||||
cd /root
|
||||
bash post-chroot
|
||||
```
|
||||
|
||||
# On prépare l'archive
|
||||
# Commencer par sortir du chroot
|
||||
```
|
||||
tar --xattrs -cpf /tmp/erminig-rootfs.tar -C /mnt/lfs .
|
||||
```
|
||||
|
||||
# Hors du conteneur
|
||||
```
|
||||
sudo docker build -t orin:0.1 -f ./DockerfileErminig .
|
||||
```
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue