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

  1. [ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf
  2. sysfiles_postmake_lvp () {
  3. cd ${root}/etc
  4. if patch -p0 --dry-run -i ${targetdir}/patches/etc_profile.patch >/dev/null 2>&1 ; then
  5. patch -p0 -i ${targetdir}/patches/etc_profile.patch
  6. else
  7. echo "/etc/profile already patched"
  8. fi
  9. cd ${root}/sbin
  10. if patch -p0 --dry-run -i ${targetdir}/patches/sbin_hwscan.patch >/dev/null 2>&1 ; then
  11. patch -p0 -i ${targetdir}/patches/sbin_hwscan.patch
  12. else
  13. echo "/sbin/hwscan already patched"
  14. fi
  15. }
  16. postmake="sysfiles_postmake_lvp"