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

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