[scripts] mkloopcard.txt: make sure to run "rc-update --update" at the end of mmc image config

This commit is contained in:
Fabio Erculiani 2011-12-30 00:38:03 +01:00
parent 774ee5debf
commit ca7303e391

View File

@ -136,6 +136,8 @@ echo "echo root:root | chpasswd" | chroot "${tmp_dir}"
echo "rc-update add sshd default" | chroot "${tmp_dir}" echo "rc-update add sshd default" | chroot "${tmp_dir}"
# unfortunately net.eth0 link heartbeat doesn't always work # unfortunately net.eth0 link heartbeat doesn't always work
echo "rc-update add net.eth0 default" | chroot "${tmp_dir}" echo "rc-update add net.eth0 default" | chroot "${tmp_dir}"
# cleaning up deps
echo "rc-update --update" | chroot "${tmp_dir}"
# work out paths to empty and paths to remove # work out paths to empty and paths to remove
if [ -n "${PATHS_TO_REMOVE}" ]; then if [ -n "${PATHS_TO_REMOVE}" ]; then