mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
529 B

[ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf
sysfiles_postmake_lvp () {
cd ${root}/etc
if patch -p0 --dry-run -i ${targetdir}/patches/etc_profile.patch >/dev/null 2>&1 ; then
patch -p0 -i ${targetdir}/patches/etc_profile.patch
else
echo "/etc/profile already patched"
fi
cd ${root}/sbin
if patch -p0 --dry-run -i ${targetdir}/patches/sbin_hwscan.patch >/dev/null 2>&1 ; then
patch -p0 -i ${targetdir}/patches/sbin_hwscan.patch
else
echo "/sbin/hwscan already patched"
fi
}
postmake="sysfiles_postmake_lvp"