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.

19 lines
547 B

  1. #!/bin/bash
  2. # get the default kernel version
  3. . $base/package/*/linux/kernelversion.sh
  4. var_append makeopt " " "-f local.mk KDIR=$root/usr/src/linux-$kernelversion"
  5. makeinstopt="$makeopt"
  6. hook_add postmake 3 \
  7. '(
  8. install -m 644 -p -t $mandir/man5 util/aufs.5
  9. install -m 500 -p util/{{,u}mount.aufs,auchk,auplink,aulchown,aufind.sh} $root/sbin
  10. mkdir -p $root/lib/modules/$kernelversion/misc
  11. cp -a fs/aufs25/aufs.ko $root/lib/modules/$kernelversion/misc/
  12. mkdir -p $sysconfdir/default
  13. cp -a util/etc_default_aufs $sysconfdir/default/aufs
  14. )'