[PATCH 1/3] Remove last references to hal.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We don't need hal anymore, so remove it from the initrd.img generation
and stop loader from starting up hald.
---
 loader/loader.c      |    8 --------
 scripts/mk-images    |   16 ----------------
 scripts/upd-instroot |   10 +---------
 3 files changed, 1 insertions(+), 33 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index d624ad5..dea600f 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1992,14 +1992,6 @@ int main(int argc, char ** argv) {
 
     busProbe(FL_NOPROBE(flags));
 
-    /* HAL daemon */
-    if (!FL_TESTING(flags)) {
-        if (fork() == 0) {
-            execl("/sbin/hald", "/sbin/hald", "--use-syslog", NULL);
-            doExit(1);
-        }
-    }
-
     /* Disable all network interfaces in NetworkManager by default */
 #if !defined(__s390__) && !defined(__s390x__)
     int i;
diff --git a/scripts/mk-images b/scripts/mk-images
index d8e94f5..aefc5b0 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -557,14 +557,12 @@ makeinitrd() {
     mkdir -p $MBD_DIR/usr/libexec
     mkdir -p $MBD_DIR/usr/$LIBDIR/NetworkManager
     mkdir -p $MBD_DIR/usr/share/dbus-1/system-services
-    mkdir -p $MBD_DIR/var/cache/hald
     mkdir -p $MBD_DIR/var/lib/dbus
     mkdir -p $MBD_DIR/var/lib/dhclient
     mkdir -p $MBD_DIR/etc/dhcp
     mkdir -p $MBD_DIR/var/lock/rpm
     mkdir -p $MBD_DIR/var/run
     mkdir -p $MBD_DIR/var/run/dbus
-    mkdir -p $MBD_DIR/var/run/hald
     mkdir -p $MBD_DIR/var/run/NetworkManager
     mkdir -p $MBD_DIR/etc/dbus-1/system.d
     mkdir -p $MBD_DIR/etc/modprobe.d
@@ -574,8 +572,6 @@ makeinitrd() {
     mkdir -p $MBD_DIR/usr/share/polkit-1/actions
     mkdir -p $MBD_DIR/etc/polkit-1/localauthority.conf.d
     mkdir -p $MBD_DIR/etc/polkit-1/nullbackend.conf.d
-    mkdir -p $MBD_DIR/etc/hal/fdi
-    mkdir -p $MBD_DIR/usr/share/hal/fdi
     mkdir -p $MBD_DIR/usr/share/hwdata
     mkdir -p $MBD_DIR/etc/rc.d/init.d
     mkdir -p $MBD_DIR/usr/sbin
@@ -711,18 +707,6 @@ makeinitrd() {
     cp -a $IMGPATH/usr/share/hwdata/pci.ids $MBD_DIR/usr/share/hwdata/pci.ids
     cp -a $IMGPATH/usr/share/hwdata/usb.ids $MBD_DIR/usr/share/hwdata/usb.ids
 
-    # hal
-    instbin $IMGPATH /usr/sbin/hald $MBD_DIR /sbin/hald
-    ( cd $IMGPATH/usr/libexec
-      for f in hald-runner hald-generate-fdi-cache hal*storage* ; do
-          instbin $IMGPATH /usr/libexec/$f $MBD_DIR /usr/libexec/$f
-      done
-    )
-    touch $MBD_DIR/var/run/hald.acl-list
-    cp -a $IMGPATH/usr/share/hal/fdi/* $MBD_DIR/usr/share/hal/fdi
-    cp -a $IMGPATH/etc/hal/fdi/* $MBD_DIR/etc/hal/fdi
-    cp -a $IMGPATH/etc/dbus-1/system.d/hal.conf $MBD_DIR/etc/dbus-1/system.d
-
     # PolicyKit
     ( cd $IMGPATH/etc/polkit-1
       cp -a localauthority.conf.d/50-localauthority.conf $MBD_DIR/etc/polkit-1/localauthority.conf.d
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index a479f5a..b79ff55 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -165,7 +165,7 @@ PACKAGES="GConf2 NetworkManager ORBit2 acl anaconda
     dogtail dosfstools e2fsprogs e2fsprogs-libs echo-icon-theme ethtool
     elfutils-libelf expat firstboot fontconfig fonts-ISO8859-2 freetype gail gawk gdb-gdbserver
     gdk-pixbuf gfs2-utils glib2 glibc-common gnome-python2-canvas gnome-python2-gconf
-    gnome-themes gpm grep gtk2 gtk2-engines hal
+    gnome-themes gpm grep gtk2 gtk2-engines
     hdparm hwdata initscripts iproute iputils iscsi-initiator-utils
     jfsutils keyutils-libs krb5-libs libICE libSM libX11 libXau
     libXaw libXcursor libXdmcp libXevie libXext libXfixes libXfont libXft
@@ -351,7 +351,6 @@ etc/fb.modes
 etc/fonts
 etc/group
 etc/gtk-2.0/gtkrc*
-etc/hal
 etc/hosts
 etc/im_palette.pal
 etc/imrc
@@ -476,7 +475,6 @@ usr/$LIBDIR/gtk-2.0/*/loaders/*png*
 usr/$LIBDIR/gtk-2.0/*/loaders/*xpm*
 usr/$LIBDIR/gtk-2.0/immodules
 usr/$LIBDIR/kernel-wrapper/*
-usr/$LIBDIR/hal
 usr/$LIBDIR/libuser/*
 usr/$LIBDIR/pango
 usr/$LIBDIR/python?.?
@@ -512,7 +510,6 @@ usr/bin/humount
 usr/bin/killall
 usr/bin/logger
 usr/bin/lsattr*
-usr/bin/lshal
 usr/bin/maketilo
 usr/bin/md5sum
 usr/bin/mini-wm
@@ -563,7 +560,6 @@ usr/lib/yum-plugins/blacklist.py*
 usr/lib/yum-plugins/fedorakmod.py*
 usr/lib/yum-plugins/whiteout.py*
 usr/libexec/convertdb1
-usr/libexec/hal*
 usr/libexec/nm-crash-logger
 usr/libexec/nm-dhcp-client.action
 usr/libexec/nm-dispatcher.action
@@ -578,7 +574,6 @@ usr/sbin/efibootmgr
 usr/sbin/fbset
 usr/sbin/genhomedircon
 usr/sbin/gptsync
-usr/sbin/hald
 usr/sbin/lvm
 usr/sbin/prelink
 usr/sbin/semodule
@@ -619,7 +614,6 @@ usr/share/fonts/madan/Madan.ttf
 usr/share/fonts/un-core/UnDotum.ttf
 usr/share/fonts/*/VL-Gothic-Regular.ttf
 usr/share/fonts/smc/Meera*.ttf
-usr/share/hal
 usr/share/hwdata/MonitorsDB
 usr/share/hwdata/pci.ids
 usr/share/hwdata/usb.ids
@@ -658,10 +652,8 @@ usr/share/xorg/extramodes
 usr/share/xorg/vesamodes
 usr/share/zenity
 usr/share/zoneinfo
-var/cache/hald
 var/lib/polkit-1
 var/lib/dbus
-var/lib/hal
 var/run/dbus
 EOF
 
-- 
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux