Skip to content

Commit

Permalink
upd manual cmd file
Browse files Browse the repository at this point in the history
  • Loading branch information
jancelin committed Feb 28, 2023
1 parent 54c86d7 commit eed15f6
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions note_JA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Installing qemu-user-static

```sudo apt-get install qemu-user-static```

## make executable .sh

```
cd pi-gen_RTKbase
sudo find ./ -type f -iname "*.sh" -exec chmod +x {} \;
```

## make lite img

cmd:

```
touch ./stage5/SKIP ./stage6/SKIP /stage7/SKIP
touch ./stage5/SKIP_IMAGES ./stage6/SKIP_IMAGES ./stage7/SKIP_IMAGES
docker rm -v pigen_work
.sudo ./build-docker.sh
sudo CONTINUE=1 ./build-docker.sh
sudo PRESERVE_CONTAINER=1 ./build-docker.sh
sudo PRESERVE_CONTAINER=1 CONTINUE=1 ./build-docker.sh
sudo PRESERVE_CONTAINER=1 CONTINUE=1 CLEAN=1 ./build-docker.sh
```

## debug & delete stage

```docker run -it --privileged --volumes-from=pigen_work pi-gen /bin/bash```


## Lancer la fabrication en tâche de fond sur un serveur:

* sudo apt-get install screen
* lancer ```screen```
* lancer le build ```sudo PRESERVE_CONTAINER=1 CONTINUE=1 ./build-docker.sh```
* Pendant la fabrication appuyez simplement sur ```Ctrl + a``` immédiatement suivi de ```d``` pour se deconnecter de la console
* connectez-vous de nouveau au terminal distant et tapez ```screen -r```

> https://fr.linux-console.net/?p=1143#gsc.tab=0
> http://kmdouglass.github.io/posts/create-a-custom-raspbian-image-with-pi-gen-part-1/

0 comments on commit eed15f6

Please sign in to comment.