git » mk-builders.git » commit b4fa820

make-exec first try

author Urja (ARMLFS builder)
2024-06-23 00:20:06 UTC
committer Urja (ARMLFS builder)
2024-06-23 00:20:06 UTC
parent 389d82594a43d83fcb69693f8f4c6c15b66a543a

make-exec first try

.gitignore +1 -0
exec-initial.sh +3 -2
make-exec.sh +0 -1

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..335ec95
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.tar.gz
diff --git a/exec-initial.sh b/exec-initial.sh
index 27769ca..2ae924b 100755
--- a/exec-initial.sh
+++ b/exec-initial.sh
@@ -34,6 +34,7 @@ passwd -d builder
 systemctl enable debuginfod.service
 
 # The /sources directory
-mkdir /sources
-chown builder:builder /sources
+mkdir -p /sources
+mkdir -p /sources/archives/{core,base,kde5}
+chown -R builder:builder /sources
 chmod 1777 /sources
diff --git a/make-exec.sh b/make-exec.sh
index b0bfdc8..cfe3be4 100755
--- a/make-exec.sh
+++ b/make-exec.sh
@@ -80,4 +80,3 @@ cp armlfs-launch.service /
 time tar --xattrs --acls -C / -czf armlfs.tar.gz armlfs armlfs.sh armlfs-launch.service
 rm /armlfs.sh /armlfs-launch.service
 echo Done.
-return 0