[Kernel-packages] [Bug 1958534] Re: building of linux-signed package failing on arm64
Patches have been applied and bionic/linux-signed-aws now builds successfully -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-aws in Ubuntu. https://bugs.launchpad.net/bugs/1958534 Title: building of linux-signed package failing on arm64 Status in linux-signed-aws package in Ubuntu: Fix Committed Status in linux-signed-aws source package in Bionic: Fix Committed Bug description: dpkg-buildpackage - dpkg-buildpackage: info: source package linux-signed-aws dpkg-buildpackage: info: source version 4.15.0-1119.126 dpkg-buildpackage: info: source distribution bionic dpkg-source --before-build linux-signed-aws-4.15.0 dpkg-buildpackage: info: host architecture arm64 dpkg-source: info: using options from linux-signed-aws-4.15.0/debian/source/options: --diff-ignore --tar-ignore fakeroot debian/rules clean sed debian/control \ -e "s/@ABI@/4.15.0-1119/g" \ -e "s/@UNSIGNED_SRC_PACKAGE@/linux-aws/g" \ -e "s/@UNSIGNED_SRC_VERSION@/4.15.0-1119.126/g" \ -e 's/@SRCPKGNAME@/linux-signed-aws/g' \ -e 's/@HEADERS_COMMON@/linux-aws-headers-4.15.0-1119/g' \ -e 's/@HEADERS_ARCH@/linux-headers-4.15.0-1119-aws/g' rm -rf ./4.15.0-1119.126 UNSIGNED SIGNED rm -f debian/linux-image-*.install\ debian/linux-image-*.preinst\ debian/linux-image-*.prerm \ debian/linux-image-*.postinst \ debian/linux-image-*.postrm rm -f debian/kernel-signed-image-*.install dh clean dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a debian/rules override_dh_auto_build make[1]: Entering directory '/<>' ./download-signed "linux-headers-4.15.0-1119-aws" "4.15.0-1119.126" "linux-aws" Downloading http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/dists/bionic/main/signed/linux-aws-arm64/4.15.0-1119.126/SHA256SUMS ... found Downloading http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/dists/bionic/main/signed/linux-aws-arm64/4.15.0-1119.126/signed.tar.gz ... found Extracting 4.15.0-1119.126 ... Extracting 4.15.0-1119.126/control ... Extracting 4.15.0-1119.126/control/options ... mkdir SIGNED ( \ cd "4.15.0-1119.126" || exit 1; \ for s in *.efi.signed; do \ [ ! -f "$s" ] && continue; \ base=$(echo "$s" | sed -e 's/.efi.signed//'); \ ( \ vars="${base}.efi.vars";\ [ -f "$vars" ] && . "./$vars"; \ if [ "$GZIP" = "1" ]; then \ gzip -9 "$s"; \ mv "${s}.gz" "$s"; \ fi; \ ); \ chmod 600 "$s"; \ ln "$s" "../SIGNED/$base"; \ done; \ for s in *.opal.sig; do \ [ ! -f "$s" ] && continue; \ chmod 600 "$s"; \ base=$(echo "$s" | sed -e 's/.opal.sig//'); \ cat "$base.opal" "$s" >"../SIGNED/$base"; \ done; \ for s in *.sipl.sig; do \ [ ! -f "$s" ] && continue; \ base=$(echo "$s" | sed -e 's/.sipl.sig//'); \ cat "$base.sipl" "$s" >"../SIGNED/$base"; \ chmod 600 "../SIGNED/$base";\ done\ ) make[1]: Leaving directory '/<>' fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/<>' for signed in "SIGNED"/*; do \ flavour=$(echo "$signed" | sed -e "s@.*-4.15.0-1119-@@"); \ instfile=$(echo "$signed" | sed -e "s@[^/]*/@@" -e "s@-4.15.0-1119-.*@@");
[Kernel-packages] [Bug 1958534] Re: building of linux-signed package failing on arm64
Patches sent to the ML https://lists.ubuntu.com/archives/kernel-team/2022-January/127253.html https://lists.ubuntu.com/archives/kernel-team/2022-January/127251.html ** Changed in: linux-signed-aws (Ubuntu) Assignee: (unassigned) => Ian May (ian-may) ** Changed in: linux-signed-aws (Ubuntu Bionic) Assignee: (unassigned) => Ian May (ian-may) ** Changed in: linux-signed-aws (Ubuntu) Status: New => Fix Committed ** Changed in: linux-signed-aws (Ubuntu Bionic) Status: New => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-aws in Ubuntu. https://bugs.launchpad.net/bugs/1958534 Title: building of linux-signed package failing on arm64 Status in linux-signed-aws package in Ubuntu: Fix Committed Status in linux-signed-aws source package in Bionic: Fix Committed Bug description: dpkg-buildpackage - dpkg-buildpackage: info: source package linux-signed-aws dpkg-buildpackage: info: source version 4.15.0-1119.126 dpkg-buildpackage: info: source distribution bionic dpkg-source --before-build linux-signed-aws-4.15.0 dpkg-buildpackage: info: host architecture arm64 dpkg-source: info: using options from linux-signed-aws-4.15.0/debian/source/options: --diff-ignore --tar-ignore fakeroot debian/rules clean sed debian/control \ -e "s/@ABI@/4.15.0-1119/g" \ -e "s/@UNSIGNED_SRC_PACKAGE@/linux-aws/g" \ -e "s/@UNSIGNED_SRC_VERSION@/4.15.0-1119.126/g" \ -e 's/@SRCPKGNAME@/linux-signed-aws/g' \ -e 's/@HEADERS_COMMON@/linux-aws-headers-4.15.0-1119/g' \ -e 's/@HEADERS_ARCH@/linux-headers-4.15.0-1119-aws/g' rm -rf ./4.15.0-1119.126 UNSIGNED SIGNED rm -f debian/linux-image-*.install\ debian/linux-image-*.preinst\ debian/linux-image-*.prerm \ debian/linux-image-*.postinst \ debian/linux-image-*.postrm rm -f debian/kernel-signed-image-*.install dh clean dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a debian/rules override_dh_auto_build make[1]: Entering directory '/<>' ./download-signed "linux-headers-4.15.0-1119-aws" "4.15.0-1119.126" "linux-aws" Downloading http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/dists/bionic/main/signed/linux-aws-arm64/4.15.0-1119.126/SHA256SUMS ... found Downloading http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/dists/bionic/main/signed/linux-aws-arm64/4.15.0-1119.126/signed.tar.gz ... found Extracting 4.15.0-1119.126 ... Extracting 4.15.0-1119.126/control ... Extracting 4.15.0-1119.126/control/options ... mkdir SIGNED ( \ cd "4.15.0-1119.126" || exit 1; \ for s in *.efi.signed; do \ [ ! -f "$s" ] && continue; \ base=$(echo "$s" | sed -e 's/.efi.signed//'); \ ( \ vars="${base}.efi.vars";\ [ -f "$vars" ] && . "./$vars"; \ if [ "$GZIP" = "1" ]; then \ gzip -9 "$s"; \ mv "${s}.gz" "$s"; \ fi; \ ); \ chmod 600 "$s"; \ ln "$s" "../SIGNED/$base"; \ done; \ for s in *.opal.sig; do \ [ ! -f "$s" ] && continue; \ chmod 600 "$s"; \ base=$(echo "$s" | sed -e 's/.opal.sig//'); \ cat "$base.opal" "$s" >"../SIGNED/$base"; \ done; \ for s in *.sipl.sig; do \ [ ! -f "$s" ] && continue; \ base=$(echo "$s" | sed -e 's/.sipl.sig//'); \ cat "$base.sipl" "$s" >"../SIGNED/$base"; \ chmod 600 "../SIGNED/$base";\ done\ ) make[1]: Leaving
[Kernel-packages] [Bug 1958534] Re: building of linux-signed package failing on arm64
This can be resolved by applying the following patches that were added for arm64 signed support in Disco UBUNTU: [Packaging] remove handoff check for uefi signing UBUNTU: [Packaging] decompress gzipped efi images in signing tarball -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-aws in Ubuntu. https://bugs.launchpad.net/bugs/1958534 Title: building of linux-signed package failing on arm64 Status in linux-signed-aws package in Ubuntu: Fix Committed Status in linux-signed-aws source package in Bionic: Fix Committed Bug description: dpkg-buildpackage - dpkg-buildpackage: info: source package linux-signed-aws dpkg-buildpackage: info: source version 4.15.0-1119.126 dpkg-buildpackage: info: source distribution bionic dpkg-source --before-build linux-signed-aws-4.15.0 dpkg-buildpackage: info: host architecture arm64 dpkg-source: info: using options from linux-signed-aws-4.15.0/debian/source/options: --diff-ignore --tar-ignore fakeroot debian/rules clean sed debian/control \ -e "s/@ABI@/4.15.0-1119/g" \ -e "s/@UNSIGNED_SRC_PACKAGE@/linux-aws/g" \ -e "s/@UNSIGNED_SRC_VERSION@/4.15.0-1119.126/g" \ -e 's/@SRCPKGNAME@/linux-signed-aws/g' \ -e 's/@HEADERS_COMMON@/linux-aws-headers-4.15.0-1119/g' \ -e 's/@HEADERS_ARCH@/linux-headers-4.15.0-1119-aws/g' rm -rf ./4.15.0-1119.126 UNSIGNED SIGNED rm -f debian/linux-image-*.install\ debian/linux-image-*.preinst\ debian/linux-image-*.prerm \ debian/linux-image-*.postinst \ debian/linux-image-*.postrm rm -f debian/kernel-signed-image-*.install dh clean dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a debian/rules override_dh_auto_build make[1]: Entering directory '/<>' ./download-signed "linux-headers-4.15.0-1119-aws" "4.15.0-1119.126" "linux-aws" Downloading http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/dists/bionic/main/signed/linux-aws-arm64/4.15.0-1119.126/SHA256SUMS ... found Downloading http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/dists/bionic/main/signed/linux-aws-arm64/4.15.0-1119.126/signed.tar.gz ... found Extracting 4.15.0-1119.126 ... Extracting 4.15.0-1119.126/control ... Extracting 4.15.0-1119.126/control/options ... mkdir SIGNED ( \ cd "4.15.0-1119.126" || exit 1; \ for s in *.efi.signed; do \ [ ! -f "$s" ] && continue; \ base=$(echo "$s" | sed -e 's/.efi.signed//'); \ ( \ vars="${base}.efi.vars";\ [ -f "$vars" ] && . "./$vars"; \ if [ "$GZIP" = "1" ]; then \ gzip -9 "$s"; \ mv "${s}.gz" "$s"; \ fi; \ ); \ chmod 600 "$s"; \ ln "$s" "../SIGNED/$base"; \ done; \ for s in *.opal.sig; do \ [ ! -f "$s" ] && continue; \ chmod 600 "$s"; \ base=$(echo "$s" | sed -e 's/.opal.sig//'); \ cat "$base.opal" "$s" >"../SIGNED/$base"; \ done; \ for s in *.sipl.sig; do \ [ ! -f "$s" ] && continue; \ base=$(echo "$s" | sed -e 's/.sipl.sig//'); \ cat "$base.sipl" "$s" >"../SIGNED/$base"; \ chmod 600 "../SIGNED/$base";\ done\ ) make[1]: Leaving directory '/<>' fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/<>' for signed in "SIGNED"/*; do \ flavour=$(echo