Bug#924053: Find /.disk/info patch
I attach a patch that makes Secure Boot minimal image minimal grub.cfg to seach for /disk/.info instead of /live/vmlinuz. This fixes unbootable Secure Boot (even if you boot with Secure Boot turned off) when live-build is setup to build with more than one linux kernel flavour. This has been tested in: * HP250 G6 2X60EA with UEFI Boot and Secure Boot turned off (Boot from UEFI USB) * Tianacore (Boot from UEFI CDROM) ( Note: The actual test had this additional patch: https://github.com/rescatux/live-build/commit/ad11d1c44909466baa259c2716d126dc9bc54080.patch applied to it. This enables the final user to use: --linux-flavours "686 amd64:amd64" ) Thus I conclude it works in binary_iso outputs. The same thing that happens with grub-efi enabled outputs. I never added added grub-efi support for either binary_hdd or binary_netboot and it seems nobody else added it. So I guess, as long as we only support binary_iso it's fine for now to rely on /disk/.info (only generated by xorriso) till we find a better method (like the one suggested by Thomas). Thank you. adrian15 -- Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/donate/ >From 8e5f36048559a00abbd7102ab0f7ecb2f278bf4f Mon Sep 17 00:00:00 2001 From: adrian15 Date: Sat, 9 Mar 2019 14:49:01 +0100 Subject: [PATCH] Detect device media by its /.disk/info file. This fixes Secure Boot boot when internal hard disks have /live/vmlinuz files in it. --- scripts/build/binary_grub-efi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build/binary_grub-efi b/scripts/build/binary_grub-efi index 7afa07eb7..6e402683d 100755 --- a/scripts/build/binary_grub-efi +++ b/scripts/build/binary_grub-efi @@ -215,12 +215,11 @@ esac # look in that partition for a grub.cfg file, and even if it finds it # it will not be able to find the vmlinuz and initrd. # Drop a minimal grub.cfg in the EFI partition that sets the root and prefix -# to whatever partition holds the /live/vmlinuz image, and load the grub +# to whatever partition holds the /.disk/info file, and load the grub # config from that same partition. -# This is what the Ubuntu livecd already does. mkdir -p ${_CHROOT_DIR}/grub-efi-temp-cfg cat >${_CHROOT_DIR}/grub-efi-temp-cfg/grub.cfg <
live-config_5.20190312_amd64.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Mon, 11 Mar 2019 12:15:09 + Source: live-config Binary: live-config live-config-doc live-config-systemd live-config-sysvinit Architecture: source all Version: 5.20190312 Distribution: unstable Urgency: medium Maintainer: Live Systems Maintainers Changed-By: Jonathan Carter Description: live-config - Live System Configuration Components live-config-doc - Live System Configuration Components (documentation) live-config-systemd - Live System Configuration Components (systemd backend) live-config-sysvinit - Live System Configuration Components (sysvinit backend) Closes: 921921 Changes: live-config (5.20190312) unstable; urgency=medium . * Update compat to debhelper-compat (= 12) - Use dh_missing instead of 'dh_install --fail-missing' - Rename no-restart-on-upgrade to no-stop-on-upgrade * Upgrade standards version to 4.3.0 * Add self to uploaders * Integrate patch to select desktop environments for SDDM (Closes: #921921) Checksums-Sha1: 355e772d229f4e1560cab2bae0f2fa9a2a2452d1 2013 live-config_5.20190312.dsc 3f5d2f80463ef4056b4031b2cd5770a0181e5f1f 75980 live-config_5.20190312.tar.xz b171e24bcfaac3dfd8139de18267277e6fc36cd2 53120 live-config-doc_5.20190312_all.deb 1b36a3abd65146ebdd87163a1cb73a663edde2e6 23032 live-config-systemd_5.20190312_all.deb d4909bc2dcfc612caa8cd1f1dce9dbab37658e5c 22828 live-config-sysvinit_5.20190312_all.deb 0fca930070484945929191292a9946dfe7fa5dd2 33600 live-config_5.20190312_all.deb 5e03a321c20dcffd0183aa63a0c3b6ab044bdcf1 6598 live-config_5.20190312_amd64.buildinfo Checksums-Sha256: 76e0086e653b82da5efd718a6b1cd6b7da41a55bb54e646fa00e2580a1825b9c 2013 live-config_5.20190312.dsc df60ea86cf53d621c387dff6f17bbe66f47da6f8ae13e031207aad1f9f45f569 75980 live-config_5.20190312.tar.xz a7c6e5dab9282c403848d65571cdcd14e9f2ea7dfad390282cd7edf78a504e6c 53120 live-config-doc_5.20190312_all.deb b42b98180dc7c0ae92cd6ac1267fc17c8bb255337c74a849a69dd1cb26ed3bd6 23032 live-config-systemd_5.20190312_all.deb b5d604766960d84d4fb6464a6f15a58542cabf4cc6d8e21989f31614a1424e58 22828 live-config-sysvinit_5.20190312_all.deb ba67e960d1c5ee4d906eb819ab67429d7ee127e4990f66239d41724dcecec33e 33600 live-config_5.20190312_all.deb 5622c5f3c384345a480dbc9c72e655f7e0a08a1ab437e1537369ca6410d27797 6598 live-config_5.20190312_amd64.buildinfo Files: 08d11e46f12fbc47b1af42fd69542fd0 2013 misc optional live-config_5.20190312.dsc 466fa7dd01bd3d69d182a846482b4b54 75980 misc optional live-config_5.20190312.tar.xz 9b2c8493ec919c86d2dfbb21d32ac0b7 53120 doc optional live-config-doc_5.20190312_all.deb 92b3fae9c8255adf6f7957632d04f4a4 23032 misc optional live-config-systemd_5.20190312_all.deb f75d092ce723746f0a3e81709ae00b8a 22828 misc optional live-config-sysvinit_5.20190312_all.deb 11a373a971b820146093d9bfdabb598b 33600 misc optional live-config_5.20190312_all.deb a2f30c4e759568ee98e563afc2aa3248 6598 misc optional live-config_5.20190312_amd64.buildinfo -BEGIN PGP SIGNATURE- iQJDBAEBCgAtFiEExyA8CpIGcL+U8AuxsB0acqyNyaEFAlyGXMYPHGpjY0BkZWJp YW4ub3JnAAoJELAdGnKsjcmhm5AP/08emgwjhPITiSbbpDyvhlJtnL7jWVsExb0c 0lE2+x9Ky1TkBRQO1R0uQx4VI8PpFTgDXyp+f57B1nhLHy7aNFgiF+Y6OtrzKmtM tPsX2bUewDvC8X0GpgYXmRcWTUL0JX4al1joltbPVwf7Irp/hbuNxBIbuYzXymSC wqSfYmlVbCtLCdRAyTAnibZTQG/zjEYvbw5rYnot95zmaIuG2ZCmlssIZozYjEFz xameimz0BtSPfmTEOZHKQ/ORWojVOzd9Mh2F+/TbNK6aWzatfxWTrgPNOlo0Km3J hxDFs2lRoqX59rYno/sF+2bnamzfsDDByiYhEM7e7QyXD58+bqHSm+o3lOPHaYvQ yj2q1/uClwl3c3VxSCKN/k6k/Fl+JPKTGiAkfoQD+2CbvvTClWuCg5IAKLYT8qhv Iv9qyUnSVuXSj9ugSPNiZwG59iuausOmif5hD2xqJ/Yn9p0LxyuHuNXpdwlHDZTt nwwVhAo1xTmj1U+lMsyQFAkYmN9q+2DOCsM2irZpsDToVfARp0TqJjsBLUzpvN35 2zRrW0YrJeMRK01N6eOvvhoJHH42eqBFyXP2o+c69/jukCra07yealmIkRGgWWJM J/Q7Mp2s0VPpgzx0zwsS2hOhwZY2D4oxVmar6xSTmVZoubQ2hxok4ApQJFgX/5Jw taWFZQ1s =6Jw8 -END PGP SIGNATURE- Thank you for your contribution to Debian.
Processing of live-config_5.20190312_amd64.changes
live-config_5.20190312_amd64.changes uploaded successfully to localhost along with the files: live-config_5.20190312.dsc live-config_5.20190312.tar.xz live-config-doc_5.20190312_all.deb live-config-systemd_5.20190312_all.deb live-config-sysvinit_5.20190312_all.deb live-config_5.20190312_all.deb live-config_5.20190312_amd64.buildinfo Greetings, Your Debian queue daemon (running on host usper.debian.org)
Bug#921921: marked as done (live-config: Buster Live LXQt does not autologin)
Your message dated Mon, 11 Mar 2019 13:20:33 + with message-id and subject line Bug#921921: fixed in live-config 5.20190312 has caused the Debian Bug report #921921, regarding live-config: Buster Live LXQt does not autologin to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 921921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921921 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: live-config Version: 5.20180224 Severity: normal Tags: patch Live Systems Maintainers, Buster Live LXQt does not autologin. journalctl -p2 says: sddm[889]: Unable to find autologin session entry "plasma.desktop" /etc/sddm.conf: [Autologin] User=user Session=plasma.desktop This is correct for KDE, but for LXQt it should be: [Autologin] User=user Session=lxqt.desktop An *untested* patch is attached which sets the Session based on which alternative /usr/bin/x-session-manager links to. Thank you! Daniel Lewart --- a/components/0085-sddm 2018-11-25 10:08:19.0 -0600 +++ b/components/0085-sddm 2019-02-10 00:00:00.0 -0600 @@ -62,10 +62,21 @@ # autologin if [ -n "${LIVE_USERNAME}" ] then + LIVE_X_SESSION_MANAGER=$(realpath /usr/bin/x-session-manager) + case "${LIVE_X_SESSION_MANAGER}" in + /usr/bin/startkde) + LIVE_SESSION="plasma.desktop" + ;; + + /usr/bin/startlxqt) + LIVE_SESSION="lxqt.desktop" + ;; + esac + cat > /etc/sddm.conf << EOF [Autologin] User=${LIVE_USERNAME} -Session=plasma.desktop +Session=${LIVE_SESSION} EOF fi --- End Message --- --- Begin Message --- Source: live-config Source-Version: 5.20190312 We believe that the bug you reported is fixed in the latest version of live-config, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 921...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jonathan Carter (supplier of updated live-config package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Mon, 11 Mar 2019 12:15:09 + Source: live-config Binary: live-config live-config-doc live-config-systemd live-config-sysvinit Architecture: source all Version: 5.20190312 Distribution: unstable Urgency: medium Maintainer: Live Systems Maintainers Changed-By: Jonathan Carter Description: live-config - Live System Configuration Components live-config-doc - Live System Configuration Components (documentation) live-config-systemd - Live System Configuration Components (systemd backend) live-config-sysvinit - Live System Configuration Components (sysvinit backend) Closes: 921921 Changes: live-config (5.20190312) unstable; urgency=medium . * Update compat to debhelper-compat (= 12) - Use dh_missing instead of 'dh_install --fail-missing' - Rename no-restart-on-upgrade to no-stop-on-upgrade * Upgrade standards version to 4.3.0 * Add self to uploaders * Integrate patch to select desktop environments for SDDM (Closes: #921921) Checksums-Sha1: 355e772d229f4e1560cab2bae0f2fa9a2a2452d1 2013 live-config_5.20190312.dsc 3f5d2f80463ef4056b4031b2cd5770a0181e5f1f 75980 live-config_5.20190312.tar.xz b171e24bcfaac3dfd8139de18267277e6fc36cd2 53120 live-config-doc_5.20190312_all.deb 1b36a3abd65146ebdd87163a1cb73a663edde2e6 23032 live-config-systemd_5.20190312_all.deb d4909bc2dcfc612caa8cd1f1dce9dbab37658e5c 22828 live-config-sysvinit_5.20190312_all.deb 0fca930070484945929191292a9946dfe7fa5dd2 33600 live-config_5.20190312_all.deb 5e03a321c20dcffd0183aa63a0c3b6ab044bdcf1 6598 live-config_5.20190312_amd64.buildinfo Checksums-Sha256: 76e0086e653b82da5efd718a6b1cd6b7da41a55bb54e646fa00e2580a1825b9c 2013 live-config_5.20190312.dsc df60ea86cf53d621c387dff6f17bbe66f47da6f8ae13e031207aad1f9f45f569 75980 live-config_5.20190312.tar.xz a7c6e5dab9282c403848d65571cdcd14e9f2ea7dfad390282cd7edf78a504e6c 53120 live-config-doc_5.20190312_all.deb
live-build_20190311_source.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Mon, 11 Mar 2019 10:08:38 + Source: live-build Architecture: source Version: 1:20190311 Distribution: unstable Urgency: medium Maintainer: Debian Live Changed-By: Luca Boccassi Closes: 924293 Changes: live-build (1:20190311) unstable; urgency=medium . [ Hideki Yamane ] * use deb.debian.org as default * We should add buster for release. (Closes: #924293) . [ Luca Boccassi ] * Bump Standards-Version to 4.3.0, no changes. Checksums-Sha1: b4595342d1ab9a7333fae2e71381f806e03d84d5 1388 live-build_20190311.dsc 41df16fff14d64e9b893dca3f59876915f71c30e 361120 live-build_20190311.tar.xz bacf92e7dcde03fb1f9bebae94b2e0532a8334b6 5196 live-build_20190311_source.buildinfo Checksums-Sha256: 7f939be19c7755b309e1b89ee124c69d6cee6595d77f08ef8d193612ad58615b 1388 live-build_20190311.dsc c8db7d927d0e04a390f534916087d7758395f806ca8959b5cecc28054a3035cc 361120 live-build_20190311.tar.xz 862277510ee604379d74c8f48d09fe851ff7a38b9506ac566a902c05ac8ee560 5196 live-build_20190311_source.buildinfo Files: 74c4ae8b6ab00ee2928c7b60067cc490 1388 misc optional live-build_20190311.dsc 3c1d6abbdf074986e62910517afe7e52 361120 misc optional live-build_20190311.tar.xz a94572278b30791ceb98d4ac9eef2985 5196 misc optional live-build_20190311_source.buildinfo -BEGIN PGP SIGNATURE- iQFFBAEBCgAvFiEE6g0RLAGYhL9yp9G8SylmgFB4UWIFAlyGPnMRHGJsdWNhQGRl Ymlhbi5vcmcACgkQSylmgFB4UWJ5EAgArBFKBXCTY42GamovzYLxVY2lqhJ5GOn9 vjQ50ZpQ7+QdAjhhGVRl7mbNcWqsG/O6yJPODRhbriuXzUgvSSgDqezSciJ9zSGH N+FBW7VJ2KhZ0s0zuaSs336tr8vaSrqePotTB6/aS6heFWVhYwcyzTG9oKU9vbis Ddzy9MMWpt8lxTaFZQCruUxHpnz3l5WGBYZyHChBXJK7Lp01QdQK/zNsmdxYWwOy q3p30yEhRfa1/DqCvDSnl93gGmX10YzinqhHqCowMdkhUqcrh4n8StwBlaPmljBi yUKWKzZ5HWBLobPIFNnp3EQu9hVOpVnyZMnftVyRiAQCwpmZEbmrkw== =sjSf -END PGP SIGNATURE- Thank you for your contribution to Debian.
Processing of live-build_20190311_source.changes
live-build_20190311_source.changes uploaded successfully to localhost along with the files: live-build_20190311.dsc live-build_20190311.tar.xz live-build_20190311_source.buildinfo Greetings, Your Debian queue daemon (running on host usper.debian.org)
Bug#924293: marked as done (live-build: Please add support for buster release)
Your message dated Mon, 11 Mar 2019 11:19:36 + with message-id and subject line Bug#924293: fixed in live-build 1:20190311 has caused the Debian Bug report #924293, regarding live-build: Please add support for buster release to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 924293: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924293 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: live-build Version: 1:20180925 Severity: important Tags: patch, pending Dear Maintainer, As I've reported, live-build current version lacks buster support. https://salsa.debian.org/live-team/live-build/commit/f242323fa246840ba9581586ad78a8301629d84c Please upload new release for buster. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages live-build depends on: ii debootstrap 1.0.114 Versions of packages live-build recommends: ii apt-utils 1.8.0 ii bzip2 1.0.6-9 ii cpio2.12+dfsg-6 ii file1:5.35-4 pn live-boot-doc pn live-config-doc pn live-manual-html | live-manual ii wget1.20.1-1 ii xz-utils5.2.4-1 Versions of packages live-build suggests: ii e2fsprogs 1.45.0-1 ii mtd-utils 1:2.0.1-1 ii parted 3.2-24 --- End Message --- --- Begin Message --- Source: live-build Source-Version: 1:20190311 We believe that the bug you reported is fixed in the latest version of live-build, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 924...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Luca Boccassi (supplier of updated live-build package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Mon, 11 Mar 2019 10:08:38 + Source: live-build Architecture: source Version: 1:20190311 Distribution: unstable Urgency: medium Maintainer: Debian Live Changed-By: Luca Boccassi Closes: 924293 Changes: live-build (1:20190311) unstable; urgency=medium . [ Hideki Yamane ] * use deb.debian.org as default * We should add buster for release. (Closes: #924293) . [ Luca Boccassi ] * Bump Standards-Version to 4.3.0, no changes. Checksums-Sha1: b4595342d1ab9a7333fae2e71381f806e03d84d5 1388 live-build_20190311.dsc 41df16fff14d64e9b893dca3f59876915f71c30e 361120 live-build_20190311.tar.xz bacf92e7dcde03fb1f9bebae94b2e0532a8334b6 5196 live-build_20190311_source.buildinfo Checksums-Sha256: 7f939be19c7755b309e1b89ee124c69d6cee6595d77f08ef8d193612ad58615b 1388 live-build_20190311.dsc c8db7d927d0e04a390f534916087d7758395f806ca8959b5cecc28054a3035cc 361120 live-build_20190311.tar.xz 862277510ee604379d74c8f48d09fe851ff7a38b9506ac566a902c05ac8ee560 5196 live-build_20190311_source.buildinfo Files: 74c4ae8b6ab00ee2928c7b60067cc490 1388 misc optional live-build_20190311.dsc 3c1d6abbdf074986e62910517afe7e52 361120 misc optional live-build_20190311.tar.xz a94572278b30791ceb98d4ac9eef2985 5196 misc optional live-build_20190311_source.buildinfo -BEGIN PGP SIGNATURE- iQFFBAEBCgAvFiEE6g0RLAGYhL9yp9G8SylmgFB4UWIFAlyGPnMRHGJsdWNhQGRl Ymlhbi5vcmcACgkQSylmgFB4UWJ5EAgArBFKBXCTY42GamovzYLxVY2lqhJ5GOn9 vjQ50ZpQ7+QdAjhhGVRl7mbNcWqsG/O6yJPODRhbriuXzUgvSSgDqezSciJ9zSGH N+FBW7VJ2KhZ0s0zuaSs336tr8vaSrqePotTB6/aS6heFWVhYwcyzTG9oKU9vbis Ddzy9MMWpt8lxTaFZQCruUxHpnz3l5WGBYZyHChBXJK7Lp01QdQK/zNsmdxYWwOy q3p30yEhRfa1/DqCvDSnl93gGmX10YzinqhHqCowMdkhUqcrh4n8StwBlaPmljBi yUKWKzZ5HWBLobPIFNnp3EQu9hVOpVnyZMnftVyRiAQCwpmZEbmrkw== =sjSf -END PGP SIGNATURE End Message ---
Bug#924293: live-build: Please add support for buster release
Package: live-build Version: 1:20180925 Severity: important Tags: patch, pending Dear Maintainer, As I've reported, live-build current version lacks buster support. https://salsa.debian.org/live-team/live-build/commit/f242323fa246840ba9581586ad78a8301629d84c Please upload new release for buster. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages live-build depends on: ii debootstrap 1.0.114 Versions of packages live-build recommends: ii apt-utils 1.8.0 ii bzip2 1.0.6-9 ii cpio2.12+dfsg-6 ii file1:5.35-4 pn live-boot-doc pn live-config-doc pn live-manual-html | live-manual ii wget1.20.1-1 ii xz-utils5.2.4-1 Versions of packages live-build suggests: ii e2fsprogs 1.45.0-1 ii mtd-utils 1:2.0.1-1 ii parted 3.2-24