Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/dracut/module-setup.sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2323 by niro, Fri Jul 11 12:52:21 2014 UTC revision 2324 by niro, Fri Jul 11 12:53:26 2014 UTC
# Line 4  check() { Line 4  check() {
4   local _program   local _program
5   . $dracutfunctions   . $dracutfunctions
6    
7   for _program in iwconfig wpa_supplicant \   for _program in iwconfig wpa_supplicant localectl \
8   chroot systemd-nspawn vncpasswd hostname mcored; do   chroot systemd-nspawn vncpasswd hostname mcored; do
9   if ! type -P $_program >/dev/null; then   if ! type -P $_program >/dev/null; then
10   derror "Could not find program \"$_program\" required by mcored."   derror "Could not find program \"$_program\" required by mcored."
# Line 16  check() { Line 16  check() {
16  }  }
17    
18  depends() {  depends() {
19   echo busybox network   echo busybox systemd network
20  }  }
21    
22  install() {  install() {
# Line 31  install() { Line 31  install() {
31   dracut_install iwconfig wpa_supplicant chroot systemd-nspawn   dracut_install iwconfig wpa_supplicant chroot systemd-nspawn
32    
33   # mcored config stuff   # mcored config stuff
34   dracut_install hwinfo vncpasswd   dracut_install hwinfo vncpasswd localectl
35    
36   # mcored   # mcored
37   # install things which are needed but not provided by our busybox   # install things which are needed but not provided by our busybox
# Line 41  install() { Line 41  install() {
41   inst @@SSLDIR@@/private/mcored.key   inst @@SSLDIR@@/private/mcored.key
42   inst_dir @@MCORE_CHROOTDIR@@   inst_dir @@MCORE_CHROOTDIR@@
43   inst @@CONFDDIR@@/mcored   inst @@CONFDDIR@@/mcored
  inst @@SYSCONFDIR@@/mcore/mcore.conf  
44   inst @@SYSCONFDIR@@/mcoredpasswd   inst @@SYSCONFDIR@@/mcoredpasswd
45   for __file in $(find @@MCORE_LIBDIR@@/include -type f)   for __file in $(find @@SYSCONFDIR@@/mcore @@MCORE_LIBDIR@@ -type f)
46   do   do
47   inst ${__file}   inst ${__file}
48   done   done
  inst @@MCORE_LIBDIR@@/mcored  
  inst @@MCORE_LIBDIR@@/mcore-generate-certificate  
  inst @@MCORE_LIBDIR@@/mcorepasswd  
  inst @@MCORE_LIBDIR@@/VERSION  
49   inst_symlink @@SBINDIR@@/mcored   inst_symlink @@SBINDIR@@/mcored
50   inst_symlink @@SBINDIR@@/mcorepasswd   inst_symlink @@SBINDIR@@/mcorepasswd
51    

Legend:
Removed from v.2323  
changed lines
  Added in v.2324