summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore6
-rwxr-xr-xauto/build1
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e14197f..ec3e35d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,17 @@
/cache
/binary*
+/kanotix*iso
/chroot
/.stage
+/config/all
/config/binary
/config/bootstrap
/config/chroot
/config/common
+/config/kanotix
/config/source
+/config/chroot_local-includes/etc/kanotix-version
+/config/chroot_local-includes/root/build.conf
+/config/chroot_local-includes/usr/local/bin
/overlay*
diff --git a/auto/build b/auto/build
index 4a3745c..66d51cc 100755
--- a/auto/build
+++ b/auto/build
@@ -8,6 +8,7 @@ LABEL=Kanotix
[ "$LB_ARCHITECTURE" = "amd64" ] && bit=64 && LABEL=${LABEL}64
# Update kanotix-version (32/64-bit and timestamp)
+mkdir -p config/chroot_local-includes/etc
[ ! -f config/chroot_local-includes/etc/kanotix-version ] && echo "Kanotix Hellfire 0000-00:00" > config/chroot_local-includes/etc/kanotix-version
perl -pi -e "s%(Kanotix|Excalibur|Hellfire)(32|64)%\${1}$bit%i; s%(32|64)(bit)%$bit\${2}%i; s|[0-9]+-[0-9]+:[0-9]+|$(date +%Y%m%d-%H:%M)|" config/chroot_local-includes/etc/kanotix-version