|
|
@ -357,16 +357,16 @@ compile_unionfs_modules() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
print_info 1 'unionfs: >> Copying to cache...'
|
|
|
|
print_info 1 'unionfs: >> Copying to cache...'
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs
|
|
|
|
mkdir -p ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs/unionfs
|
|
|
|
|
|
|
|
|
|
|
|
if [ -f unionfs.ko ]
|
|
|
|
if [ -f unionfs.ko ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
cp unionfs.ko ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs
|
|
|
|
cp unionfs.ko ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs/unionfs
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cp unionfs.o ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs
|
|
|
|
cp unionfs.o ${TEMP}/unionfs/lib/modules/${KV}/kernel/fs/unionfs
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
cd ${TEMP}/unionfs
|
|
|
|
cd ${TEMP}/unionfs
|
|
|
|
/bin/tar -cjf "${UNIONFS_MODULES_BINCACHE}" . ||
|
|
|
|
/bin/tar -cjf "${UNIONFS_MODULES_BINCACHE}" . ||
|
|
|
|
gen_die 'Could not create unionfs modules binary cache'
|
|
|
|
gen_die 'Could not create unionfs modules binary cache'
|
|
|
|
|
|
|
|
|
|
|
|