mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-05 00:11:10 +00:00
auto/build: Order generated squashfs filesystems
This commit is contained in:
parent
ce973ba07b
commit
b6287916c2
@ -480,10 +480,11 @@ EOF
|
||||
lb binary "$@"
|
||||
|
||||
# Create layered squashfs system
|
||||
CURPASS=1
|
||||
if [ "${IMAGEFORMAT:-}" = live-layered ]; then
|
||||
for _PASS in $PASSES
|
||||
do
|
||||
squashfs_f="${PWD}/livecd.${PROJECT}.${_PASS}.squashfs"
|
||||
squashfs_f="${PWD}/livecd.${PROJECT}.$(printf "%02g" $CURPASS)-${_PASS}.squashfs"
|
||||
|
||||
(cd "chroot.${_PASS}/" &&
|
||||
mksquashfs . ${squashfs_f} \
|
||||
@ -491,6 +492,7 @@ EOF
|
||||
|
||||
squashfs_f_manifest="${squashfs_f}.manifest"
|
||||
create_manifest "chroot.${_PASS}/" "${squashfs_f_manifest}"
|
||||
CURPASS=$(( CURPASS + 1 ))
|
||||
done
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user