aboutsummaryrefslogtreecommitdiffstats
path: root/make-aux-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make-aux-files.sh')
-rwxr-xr-xmake-aux-files.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/make-aux-files.sh b/make-aux-files.sh
new file mode 100755
index 000000000..64151b839
--- /dev/null
+++ b/make-aux-files.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+rm -f lfs-systemd-units*.tar.bz2
+
+# Get base file name and move bootscripts directory to that name
+version=`grep "ENTITY lfs-systemd-units-version" packages.ent |cut -d'"' -f2`
+mv systemd-units lfs-systemd-units-$version
+
+# Create the tarball and clean up
+tar -cjf lfs-systemd-units-$version.tar.bz2 --exclude .svn lfs-systemd-units-$version
+mv lfs-systemd-units-$version systemd-units