diff options
author | Juan RP <xtraeme@gmail.com> | 2014-01-11 18:51:02 +0100 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-01-11 18:51:02 +0100 |
commit | ad4c7ec38121812800a85bcf1f681cdf73aa2ce2 (patch) | |
tree | 13e8f7a1d4c09a163b18528d13838f7ec6f8177a | |
parent | de357fbda99dda168457cf2dae655c071ef87b75 (diff) | |
download | hrmpf-ad4c7ec38121812800a85bcf1f681cdf73aa2ce2.tar.gz hrmpf-ad4c7ec38121812800a85bcf1f681cdf73aa2ce2.tar.xz hrmpf-ad4c7ec38121812800a85bcf1f681cdf73aa2ce2.zip |
mklive.sh.in: install local installer if available, otherwise the host one.
-rw-r--r-- | mklive.sh.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mklive.sh.in b/mklive.sh.in index 35114d1..0a4e628 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -145,6 +145,12 @@ install_packages() { if [ -f $ROOTFS/usr/lib/systemd/system/NetworkManager.service ]; then systemd-nspawn -D $ROOTFS systemctl enable NetworkManager.service >>$LOGFILE 2>&1 fi + + if [ -x installer.sh ]; then + install -Dm755 installer.sh $ROOTFS/usr/sbin/void-installer + else + install -Dm755 /usr/sbin/void-installer $ROOTFS/usr/sbin/void-installer + fi } generate_initramfs() { |