?Urgent? Use new kernel release format in releng
diff mbox

Message ID CA+X5Wn4m7dEARjA16xX-fOW_560tCQWvDhnt+vFmgp__KgwaPA@mail.gmail.com
State New
Headers show

Commit Message

Ian Li via arch-releng July 31, 2018, 10:43 p.m. UTC
?URGENT? If the monthly Arch ISO releases are made using releng, the 2018.08.01
ISO being made in a few hours will fail.

linux 4.17.11-1 [1], released 2 days ago, broke releng/build.sh

The linux commit changed the format of the kernel release from "4.17.10-1-ARCH"
to "4.17.11-arch1".  With several files and lines being changed to affect this
change in that commit, it appears intentional.

releng/build.sh looks for usr/lib/modules/*-ARCH/modules.alias, so fails.

[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?
       h=packages/linux&id=d0c4ab0716e0ae1fc058a83ccb02bde92885ced6
---
 configs/releng/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

+    gzip -c -9
${work_dir}/x86_64/airootfs/usr/lib/modules/*-arch*/modules.alias >
${work_dir}/iso/${install_dir}/boot/syslinux/hdt/modalias.gz
 }

 # Prepare /isolinux
--
2.18.0

Comments

Ian Li via arch-releng July 31, 2018, 11:03 p.m. UTC | #1
On 07/31/2018 06:43 PM, james harvey via arch-releng wrote:
> ?URGENT? If the monthly Arch ISO releases are made using releng, the 2018.08.01
> ISO being made in a few hours will fail.
> 
> linux 4.17.11-1 [1], released 2 days ago, broke releng/build.sh
> 
> The linux commit changed the format of the kernel release from "4.17.10-1-ARCH"
> to "4.17.11-arch1".  With several files and lines being changed to affect this
> change in that commit, it appears intentional.
> 
> releng/build.sh looks for usr/lib/modules/*-ARCH/modules.alias, so fails.
https://bugs.archlinux.org/task/59496

And can we please be less dramatic about this please?

Anyway, the PKGBUILD may soon be reworked again, so let's wait and see.
We should try to use a more stable fix than this regardless.

Patch
diff mbox

diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 180fa94..8e44ad6 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -135,7 +135,7 @@  make_syslinux() {
     cp ${work_dir}/x86_64/airootfs/usr/lib/syslinux/bios/memdisk
${work_dir}/iso/${install_dir}/boot/syslinux
     mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux/hdt
     gzip -c -9 ${work_dir}/x86_64/airootfs/usr/share/hwdata/pci.ids >
${work_dir}/iso/${install_dir}/boot/syslinux/hdt/pciids.gz
-    gzip -c -9
${work_dir}/x86_64/airootfs/usr/lib/modules/*-ARCH/modules.alias >
${work_dir}/iso/${install_dir}/boot/syslinux/hdt/modalias.gz