|
|
@ -119,8 +119,7 @@ cp System.map $PKG |
|
|
|
cp .config $PKG/config |
|
|
|
|
|
|
|
# Copy the packaging SlackBuild |
|
|
|
cp $CWD/packaging-$ARCH/kernel-huge/kernel-huge.SlackBuild $PKG |
|
|
|
cp $CWD/packaging-$ARCH/kernel-huge/slack-desc $PKG |
|
|
|
cp -aT $CWD/packaging-$ARCH/kernel-huge $PKG |
|
|
|
|
|
|
|
# Run the packaging SlackBuild |
|
|
|
cd $PKG |
|
|
@ -147,8 +146,7 @@ cp System.map $PKG |
|
|
|
cp .config $PKG/config |
|
|
|
|
|
|
|
# Copy the packaging SlackBuild |
|
|
|
cp $CWD/packaging-$ARCH/kernel-generic/kernel-generic.SlackBuild $PKG |
|
|
|
cp $CWD/packaging-$ARCH/kernel-generic/slack-desc $PKG |
|
|
|
cp -aT $CWD/packaging-$ARCH/kernel-generic $PKG |
|
|
|
|
|
|
|
# Run the packaging SlackBuild |
|
|
|
cd $PKG |
|
|
@ -175,11 +173,10 @@ ln -s /usr/src/$PKGNAM-$VERSION $PKG/lib/modules/$VERSION/build |
|
|
|
ln -s /usr/src/$PKGNAM-$VERSION $PKG/lib/modules/$VERSION/source |
|
|
|
|
|
|
|
# Copy the packaging SlackBuild |
|
|
|
cp $CWD/packaging-$ARCH/kernel-modules/kernel-modules.SlackBuild $PKG |
|
|
|
cp $CWD/packaging-$ARCH/kernel-modules/slack-desc $PKG |
|
|
|
cp -aT $CWD/packaging-$ARCH/kernel-modules $PKG |
|
|
|
|
|
|
|
# Prefix absolute module paths in the SlackBuild with $CWD, since we installed the modules there |
|
|
|
sed -i -e 's@/lib/modules/${KERNELRELEASE}@$CWD&@' $PKG/kernel-modules.SlackBuild |
|
|
|
sed -i -e 's@/lib/modules/@$CWD&@' $PKG/kernel-modules.SlackBuild |
|
|
|
|
|
|
|
# Run the packaging SlackBuild |
|
|
|
cd $PKG |
|
|
|