mirror of
https://github.com/kou029w/yama.git
synced 2025-01-18 16:08:11 +00:00
move apkovl to src/rootfs
This commit is contained in:
parent
a7f88f0eef
commit
8c5bf0bf54
17 changed files with 6 additions and 6 deletions
|
@ -10,9 +10,9 @@ rm -rf dist
|
||||||
mkdir dist
|
mkdir dist
|
||||||
bin/download "${version}" dist
|
bin/download "${version}" dist
|
||||||
docker compose run --rm minirootfs sh -c 'apk update && apk add'
|
docker compose run --rm minirootfs sh -c 'apk update && apk add'
|
||||||
cp -a src/* cache -t dist
|
cp -a src/bootfs/* cache -t dist
|
||||||
bin/overlay-gen dist/overlay.img
|
bin/overlay-gen dist/overlay.img
|
||||||
docker compose run --rm builder
|
docker compose run --rm builder
|
||||||
tar czf dist/localhost.apkovl.tar.gz --owner=0 --group=0 -C apkovl .
|
tar czf dist/localhost.apkovl.tar.gz --owner=0 --group=0 -C src/rootfs .
|
||||||
tar czf yama-armhf.tar.gz --owner=0 --group=0 -C dist .
|
tar czf yama-armhf.tar.gz --owner=0 --group=0 -C dist .
|
||||||
bin/img-gen yama-armhf.img
|
bin/img-gen yama-armhf.img
|
||||||
|
|
|
@ -3,14 +3,14 @@ services:
|
||||||
image: ghcr.io/kou029w/yama/minirootfs
|
image: ghcr.io/kou029w/yama/minirootfs
|
||||||
volumes:
|
volumes:
|
||||||
- ./cache:/etc/apk/cache
|
- ./cache:/etc/apk/cache
|
||||||
- ./apkovl/etc/apk/repositories:/etc/apk/repositories
|
- ./src/rootfs/etc/apk/repositories:/etc/apk/repositories
|
||||||
- ./apkovl/etc/apk/world:/etc/apk/world
|
- ./src/rootfs/etc/apk/world:/etc/apk/world
|
||||||
builder:
|
builder:
|
||||||
image: ghcr.io/kou029w/yama/minirootfs
|
image: ghcr.io/kou029w/yama/minirootfs
|
||||||
volumes:
|
volumes:
|
||||||
- ./cache:/etc/apk/cache
|
- ./cache:/etc/apk/cache
|
||||||
- ./apkovl/etc/apk/repositories:/etc/apk/repositories
|
- ./src/rootfs/etc/apk/repositories:/etc/apk/repositories
|
||||||
- ./apkovl/etc/apk/world:/etc/apk/world
|
- ./src/rootfs/etc/apk/world:/etc/apk/world
|
||||||
- ./fstab:/etc/fstab
|
- ./fstab:/etc/fstab
|
||||||
- ./dist/overlay.img:/overlay.img
|
- ./dist/overlay.img:/overlay.img
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue