From 66553e7e07af9261e55c7c287615b61dc080593d Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Tue, 7 Mar 2017 19:19:29 +0100 Subject: lib/archroot.sh: Move CHROOT_VERSION to a common file --- arch-nspawn.in | 3 +-- lib/archroot.sh | 1 + mkarchroot.in | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 lib/archroot.sh diff --git a/arch-nspawn.in b/arch-nspawn.in index b5fcc9d..5c0f46f 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -9,8 +9,7 @@ # GNU General Public License for more details. m4_include(lib/common.sh) - -CHROOT_VERSION='v4' +m4_include(lib/archroot.sh) working_dir='' diff --git a/lib/archroot.sh b/lib/archroot.sh new file mode 100644 index 0000000..25e94fb --- /dev/null +++ b/lib/archroot.sh @@ -0,0 +1 @@ +CHROOT_VERSION='v4' diff --git a/mkarchroot.in b/mkarchroot.in index c4bb51a..e03b4f9 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -9,8 +9,7 @@ # GNU General Public License for more details. m4_include(lib/common.sh) - -CHROOT_VERSION='v4' +m4_include(lib/archroot.sh) working_dir='' -- cgit v1.2.3-70-g09d2