--- mcore-src/trunk/mcore-tools/dracut/module-setup.sh.in 2014/07/11 12:48:05 2321 +++ mcore-src/trunk/mcore-tools/dracut/module-setup.sh.in 2014/07/11 12:52:21 2322 @@ -4,7 +4,7 @@ local _program . $dracutfunctions - for _program in iwconfig wpa_supplicant localectl \ + for _program in iwconfig wpa_supplicant \ chroot systemd-nspawn vncpasswd hostname mcored; do if ! type -P $_program >/dev/null; then derror "Could not find program \"$_program\" required by mcored." @@ -16,7 +16,7 @@ } depends() { - echo busybox systemd network + echo busybox network } install() { @@ -31,7 +31,7 @@ dracut_install iwconfig wpa_supplicant chroot systemd-nspawn # mcored config stuff - dracut_install hwinfo vncpasswd localectl + dracut_install hwinfo vncpasswd # mcored # install things which are needed but not provided by our busybox @@ -41,11 +41,16 @@ inst @@SSLDIR@@/private/mcored.key inst_dir @@MCORE_CHROOTDIR@@ inst @@CONFDDIR@@/mcored + inst @@SYSCONFDIR@@/mcore/mcore.conf inst @@SYSCONFDIR@@/mcoredpasswd - for __file in $(find @@SYSCONFDIR@@/mcore @@MCORE_LIBDIR@@ -type f) + for __file in $(find @@MCORE_LIBDIR@@/include -type f) do inst ${__file} done + inst @@MCORE_LIBDIR@@/mcored + inst @@MCORE_LIBDIR@@/mcore-generate-certificate + inst @@MCORE_LIBDIR@@/mcorepasswd + inst @@MCORE_LIBDIR@@/VERSION inst_symlink @@SBINDIR@@/mcored inst_symlink @@SBINDIR@@/mcorepasswd