]> spindle.queued.net Git - xodist/blobdiff - mkchroot.sh
installer: add actual guts..
[xodist] / mkchroot.sh
index df9d8e7e2a414630f2df89c520da31fe71518dd6..e1cb6bb2b8356c09981a2277d97cd8277c424e3a 100755 (executable)
@@ -140,6 +140,10 @@ EOF
 # set the default locale
 echo "${IMG_LOCALE}" >${ROOT_DIR}/etc/locale.gen
 
+# add support for installation onto a block device
+mkdir -p ${ROOT_DIR}/etc/initramfs-tools/scripts/local-bottom
+cp installer ${ROOT_DIR}/etc/initramfs-tools/scripts/local-bottom/
+
 # run any customizations necessary pre-package install
 customize_chroot_hook "$ROOT_DIR"