remove f15 junk from runtime-postinstall
This commit is contained in:
parent
2100445ad1
commit
c0cf2095e4
@ -29,19 +29,10 @@ move ${PYTHONDIR}/site-packages/pyanaconda/sitecustomize.py ${PYTHONDIR}/site-pa
|
|||||||
move etc/yum.repos.d etc/anaconda.repos.d
|
move etc/yum.repos.d etc/anaconda.repos.d
|
||||||
|
|
||||||
## misc_tree_modifications()
|
## misc_tree_modifications()
|
||||||
## set up our own init for F15, otherwise use systemd
|
symlink /sbin/init init
|
||||||
%if int(product.version) == 15:
|
remove etc/systemd/system/default.target
|
||||||
copy usr/${libdir}/anaconda/init sbin/init
|
symlink /lib/systemd/system/anaconda.target etc/systemd/system/default.target
|
||||||
symlink init sbin/halt
|
install ${configdir}/network etc/sysconfig
|
||||||
symlink init sbin/poweroff
|
|
||||||
symlink init sbin/reboot
|
|
||||||
remove sbin/runlevel sbin/shutdown sbin/telinit
|
|
||||||
%else:
|
|
||||||
symlink "/sbin/init" init
|
|
||||||
remove etc/systemd/system/default.target
|
|
||||||
symlink "/lib/systemd/system/anaconda.target" etc/systemd/system/default.target
|
|
||||||
install ${configdir}/network etc/sysconfig
|
|
||||||
%endif
|
|
||||||
append etc/resolv.conf ""
|
append etc/resolv.conf ""
|
||||||
append bin/login "#!/bin/bash"
|
append bin/login "#!/bin/bash"
|
||||||
append bin/login "exec -l /bin/bash"
|
append bin/login "exec -l /bin/bash"
|
||||||
|
Loading…
Reference in New Issue
Block a user