The following changes were made:

* removed quotes around chroot command in usher
  * removed hwclock from Required-Start in checkfs
  * removed $local_fs from Required-Start in hostname
  * updated mountvirtfs to create /run/utmp
  * added 2 conditionals to readsvcs() in update-rc
This commit is contained in:
2017-05-20 09:18:03 -05:00
parent 3112172beb
commit 17afdf7765
6 changed files with 15 additions and 9 deletions

View File

@@ -7,8 +7,12 @@ case $1 in
exit 0
;;
postinst)
echo "[ENVIRONMENT]\n"
env
echo "TARGET: ${TARGET}"
if [[ ${TARGET} ]]; then
chroot ${TARGET} 'update-rc required'
chroot ${TARGET} update-rc required
else
update-rc required
fi