author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2024-06-23 12:08:03 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2024-06-23 12:08:03 UTC |
parent | b4fa82051251c73af9186c5d4a6b450c2e66f1df |
buildexec-pkg.txt | +1 | -0 |
exec-initial.sh | +1 | -0 |
make-exec.sh | +5 | -2 |
diff --git a/buildexec-pkg.txt b/buildexec-pkg.txt index 1c0b649..1823c75 100644 --- a/buildexec-pkg.txt +++ b/buildexec-pkg.txt @@ -1,4 +1,5 @@ core-devel +less openssh debuginfod breezy diff --git a/exec-initial.sh b/exec-initial.sh index 2ae924b..3cc072f 100755 --- a/exec-initial.sh +++ b/exec-initial.sh @@ -32,6 +32,7 @@ passwd -d builder # debuginfod server systemctl enable debuginfod.service +useradd -U -r debuginfod # The /sources directory mkdir -p /sources diff --git a/make-exec.sh b/make-exec.sh index cfe3be4..3293cd9 100755 --- a/make-exec.sh +++ b/make-exec.sh @@ -73,10 +73,13 @@ cp /etc/ssh/sshd_config etc/ssh cd - umount $BS -rm -f $BS.tar.gz +rm -f $BS.tar.zst echo "Tarballing up the system..." cp armlfs.sh / cp armlfs-launch.service / -time tar --xattrs --acls -C / -czf armlfs.tar.gz armlfs armlfs.sh armlfs-launch.service +time tar --xattrs --acls -C / --zstd -cf $BS.tar.zst armlfs armlfs.sh armlfs-launch.service rm /armlfs.sh /armlfs-launch.service echo Done. +echo "Press enter to move /$BS.tar.zst into /srv/nfs/dist (Ctrl-C to abort)" +read dummy +mv /armlfs.tar.zst /mnt/nfs/dist/armlfs-build-exec.tar.zst