system/xen: Add logic for sysconfig *enhanced* systems.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fc8c8b05ea
commit
d2e5cb7cd0
|
@ -31,3 +31,6 @@ find etc/default -type f -name 'xen*.new' \
|
|||
find etc/xen -type f -name '*.new' \
|
||||
| while read new ; do config $new ; done
|
||||
|
||||
[ -d etc/sysconfig ] && find etc/sysconfig -type f -name 'xen*.new' \
|
||||
| while read new ; do config $new ; done
|
||||
|
||||
|
|
|
@ -239,7 +239,7 @@ find $PKG/boot/ -type l -a -name "xen-*" -exec rm -f {} \; 2>/dev/null || true
|
|||
rmdir $PKG/etc/rc.d/init.d/
|
||||
|
||||
# Append .new to config files
|
||||
for i in $PKG/etc/{default/*,xen/*.conf} ; do mv $i $i.new ; done
|
||||
for i in $PKG/etc/{default/*,xen/*.conf,sysconfig/*} ; do [ -f $i ] && mv $i $i.new ; done
|
||||
|
||||
# Remove some executable flags
|
||||
chmod -x $PKG/usr/libexec/xen/boot/*.gz 2>/dev/null || true
|
||||
|
|
Loading…
Reference in New Issue