Commit e8f174d
3
plików
+11
dodanych
-5
usuniętych
@@ -63,7 +63,9 @@ build: |
63
63
cp .config ${PKGDIR}/boot/config-$KERNELRELEASE
64
64
cp $IMAGENAME ${PKGDIR}/boot/${pkgname}
65
65
66
- mv ./linux-6.18 ${PKGDIR}/usr/src/${pkgname}
66
+ # cwd jest WEWNĄTRZ linux-6.18 (po `cd linux-6.18`) – wyjdź do SRCDIR.
67
+ cd ..
68
+ mv linux-6.18 ${PKGDIR}/usr/src/${pkgname}
67
69
ln -sv ${pkgname} ${PKGDIR}/usr/src/linux-6.18
68
70
mv ${PKGDIR}/usr/src/${pkgname}/Documentation \
69
71
${PKGDIR}/usr/share/doc/${pkgname}
@@ -1,5 +1,5 @@
1
1
pkgname: kernel-mainline
2
-pkgver: '7.2-rc1'
2
+pkgver: '7.3-rc3'
3
3
pkgrel: '1'
4
4
pkgdesc: The latest development kernel version
5
5
url: 'https://www.kernel.org'
@@ -47,7 +47,6 @@ build: |
47
47
cp ../config .config
48
48
make olddefconfig
49
49
diff -u ../config .config || true
50
- cd linux-7.2-rc1
51
50
KERNELRELEASE=$(make -s kernelrelease)
52
51
IMAGENAME=$(make -s image_name)
53
52
# make menuconfig
@@ -63,7 +62,9 @@ build: |
63
62
cp .config ${PKGDIR}/boot/config-$KERNELRELEASE
64
63
cp $IMAGENAME ${PKGDIR}/boot/${pkgname}
65
64
66
- mv ./linux-7.2-rc1 ${PKGDIR}/usr/src/${pkgname}
65
+ # cwd jest WEWNĄTRZ linux-7.2-rc1 (po `cd linux-7.2-rc1`) – wyjdź do SRCDIR.
66
+ cd ..
67
+ mv linux-7.2-rc1 ${PKGDIR}/usr/src/${pkgname}
67
68
ln -sv ${pkgname} ${PKGDIR}/usr/src/linux-7.2-rc1
68
69
mv ${PKGDIR}/usr/src/${pkgname}/Documentation \
69
70
${PKGDIR}/usr/share/doc/${pkgname}
@@ -70,7 +70,10 @@ build: |
70
70
cp $IMAGENAME ${PKGDIR}/boot/kernel-stable
71
71
ln -sf kernel-stable ${PKGDIR}/boot/${pkgname}
72
72
73
- mv ./linux-7.2 ${PKGDIR}/usr/src/${pkgname}
73
+ # Przenieś CAŁE drzewo źródeł: cwd jest WEWNĄTRZ linux-7.2 (po `cd linux-7.2`),
74
+ # więc najpierw wychodzimy do katalogu źródeł SRCDIR.
75
+ cd ..
76
+ mv linux-7.2 ${PKGDIR}/usr/src/${pkgname}
74
77
ln -sv ${pkgname} ${PKGDIR}/usr/src/linux-7.2
75
78
mv ${PKGDIR}/usr/src/${pkgname}/Documentation \
76
79
${PKGDIR}/usr/share/doc/${pkgname}