|
@ -119,8 +119,7 @@ cp System.map $PKG |
|
|
cp .config $PKG/config |
|
|
cp .config $PKG/config |
|
|
|
|
|
|
|
|
# Copy the packaging SlackBuild |
|
|
# Copy the packaging SlackBuild |
|
|
cp $CWD/packaging-$ARCH/kernel-huge/kernel-huge.SlackBuild $PKG |
|
|
cp -aT $CWD/packaging-$ARCH/kernel-huge $PKG |
|
|
cp $CWD/packaging-$ARCH/kernel-huge/slack-desc $PKG |
|
|
|
|
|
|
|
|
|
|
|
# Run the packaging SlackBuild |
|
|
# Run the packaging SlackBuild |
|
|
cd $PKG |
|
|
cd $PKG |
|
@ -147,8 +146,7 @@ cp System.map $PKG |
|
|
cp .config $PKG/config |
|
|
cp .config $PKG/config |
|
|
|
|
|
|
|
|
# Copy the packaging SlackBuild |
|
|
# Copy the packaging SlackBuild |
|
|
cp $CWD/packaging-$ARCH/kernel-generic/kernel-generic.SlackBuild $PKG |
|
|
cp -aT $CWD/packaging-$ARCH/kernel-generic $PKG |
|
|
cp $CWD/packaging-$ARCH/kernel-generic/slack-desc $PKG |
|
|
|
|
|
|
|
|
|
|
|
# Run the packaging SlackBuild |
|
|
# Run the packaging SlackBuild |
|
|
cd $PKG |
|
|
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 |
|
|
ln -s /usr/src/$PKGNAM-$VERSION $PKG/lib/modules/$VERSION/source |
|
|
|
|
|
|
|
|
# Copy the packaging SlackBuild |
|
|
# Copy the packaging SlackBuild |
|
|
cp $CWD/packaging-$ARCH/kernel-modules/kernel-modules.SlackBuild $PKG |
|
|
cp -aT $CWD/packaging-$ARCH/kernel-modules $PKG |
|
|
cp $CWD/packaging-$ARCH/kernel-modules/slack-desc $PKG |
|
|
|
|
|
|
|
|
|
|
|
# Prefix absolute module paths in the SlackBuild with $CWD, since we installed the modules there |
|
|
# 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 |
|
|
# Run the packaging SlackBuild |
|
|
cd $PKG |
|
|
cd $PKG |
|
|