summaryrefslogtreecommitdiff
path: root/app-emulation/virt-firmware
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-20 13:00:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-20 13:00:15 +0000
commite937ca8df21d3186f65edc11c872706c80eb8a61 (patch)
tree6758813cd0a8bd1da09045a9171ff389b1b39718 /app-emulation/virt-firmware
parent1b5d79237a144dcb8753c783941843d879a906e2 (diff)
gentoo auto-resync : 20:03:2024 - 13:00:14
Diffstat (limited to 'app-emulation/virt-firmware')
-rw-r--r--app-emulation/virt-firmware/Manifest5
-rw-r--r--app-emulation/virt-firmware/files/virt-firmware-24.2-allow-cmdline-override.patch68
-rw-r--r--app-emulation/virt-firmware/virt-firmware-24.2_p20240320.ebuild (renamed from app-emulation/virt-firmware/virt-firmware-24.2_p20240315-r2.ebuild)3
3 files changed, 3 insertions, 73 deletions
diff --git a/app-emulation/virt-firmware/Manifest b/app-emulation/virt-firmware/Manifest
index b00c9defb55b..cf63a75b1383 100644
--- a/app-emulation/virt-firmware/Manifest
+++ b/app-emulation/virt-firmware/Manifest
@@ -1,8 +1,7 @@
AUX kernel-bootcfg-boot-successful 225 BLAKE2B 27c798393135049ca2d4d50f01e8c8a52773d137bcd695357e57038b28a8cfa3fa88602b01a28ab2c7521d53c7ec85edb1bd968ff544d8ec1eaf01f478b8d990 SHA512 101089f296cd04b84d6f5eade432d2de76688959a0dc24560ff4882fd99431142a4916ba8ede935bd7055d6e32d53dcd3cb9c7c6e556035f22942088e946411e
-AUX virt-firmware-24.2-allow-cmdline-override.patch 3702 BLAKE2B 51fac95c5af89e43bf07a6dc72805764bad72368ef3deeb14dc31bfaf0916f81dbe4e246b2d27eea93b8021068231382436361bc7a57ca9295220271190071e4 SHA512 4e01a45d1620c46600ff514e506ca3e5c4f2c2ddca8b2294648c22ebaeaef4223597a5546f13566c34362a3d0be181b42120cd0c79ab19fa5df1c84c1b0c491b
AUX virt-firmware-24.2-dont-force-shim.patch 1694 BLAKE2B 2777ab44ebedfbe24187ec760709ddda1600cc4cbe7f1f492c901e9f46b8bfc75edbabc6bfd9fab93b18f6957100bee2abc4a8261941eab7ef0c111678f81f33 SHA512 ee0eb319957ff9748fd9c20f72e2fdc34cee3bceff603324acb5a2bce7405b3ecc5ec2cba854730a33d7294b281976e245f9c854be076feaca7ff44623a71e13
DIST virt-firmware-24.2.tar.gz 110844 BLAKE2B db7ad7663678a313bdd0e23de7e374547e5dbc1a04b37a65e366ae042410a3a6c21ccfef3747a2534cb76906868caaf1364ac1ecd1443c1c1053a5b7687da50b SHA512 8583420acb31fb32e4c195c0c1816b36248ec2e486ded0795e51180e2690b2bcdc10eb8707f4fc9fa36da5b24082737c5c3b2e3988f6c5455e08a5d2a0ff92e7
-DIST virt-firmware-24.2_p20240315.tar.gz 105633 BLAKE2B 6d43a00626403739cf40e9d1d9310c02b0a3794a66c61124f21f45714207b3700fe1e91f0bdb57968d03bd1b08b262327edf3e2271db5b7d7dfc33cf52dce7fd SHA512 cb7e10c8ecb65e90373199be30c1e44c6d89a7c1244780999f5a38de10366ad98b0b747ca471360dd3b38a018df883f21a6758cfeabf85f44d96f38622a19655
+DIST virt-firmware-24.2_p20240320.tar.gz 107008 BLAKE2B b647ae0a918a85614499741edcd2c9b9aff6b8223905849977600a1b845de4c58ff4c45365e2a40090d5112592a295d4b5c489a8b52203043960c81973dd299f SHA512 825c27d04dcc80e2f8b163906894e9279a11fdf442b45ecf1f1493d3eb1ce9c6047f1c363a39bc1cc4d8870bfa52afa6835abc8e102fd1f17416ebe9c3a65331
EBUILD virt-firmware-24.2-r1.ebuild 1030 BLAKE2B 2d8761f2044dd9a955383b6c029df69f304961e2bfb6256d72e780345c344d963e879527b68d5d238cd0fb1676bfd43f217e47432b5b3222ef903d28ac26e0c0 SHA512 d17324a840f805a3d94e15d163bf6dd66629523a441b8fe5e43793d37f374382135de806c4c87cc96adea4efc3b621ab2a552ce45fa619762274200163944d66
-EBUILD virt-firmware-24.2_p20240315-r2.ebuild 1192 BLAKE2B 18f34510eb0efa51b43b4aab0e4bcf7f7eafbd354570723e47b18306dc8d89d9e742a376c4879205598c6d86bee7ec19821ad214f16a99d79ada648a891e5c3a SHA512 7fccbc5c67319e2759820ff074fc607ddcc8d1dac6e80fdf4d594e966314bddb2db61a96a3d6444cdbd1b8241f13c09a95022d6a646865ebde56e100146b24a4
+EBUILD virt-firmware-24.2_p20240320.ebuild 1137 BLAKE2B a432c0efaedac4fa1509d0f5611157c17d5808ea1f4dc6934f3b47b397e7da6c846444676d7d482ef160e7a19c765761d29a0c9ebb55b38fa593bdf9df7be017 SHA512 6231ae21c90bcd72edf593f12d6ead6521c0f305d7d4e81f1d008c5d2f75e0740b21e86ff4de741e7865a9d7369ae444ac9559bd638fa6c0fe617a322c5e0b11
MISC metadata.xml 726 BLAKE2B 809ef093c67bf4c03ae99efa7112b92c3d6d24058ba8ae444045ae52adf9accf60e42a84966f8fd7ab793dfb3238660f4f422fbae2c36f6fd35bf0b02b42a1f1 SHA512 af58f69792dadd71c66022fb08f0f878c3f140114287000a16e96fd8b30bf410e595d373a5cd92b56bd28d5f9996ab5cdecac91ba1b743f2e807feeeaf6e9cbd
diff --git a/app-emulation/virt-firmware/files/virt-firmware-24.2-allow-cmdline-override.patch b/app-emulation/virt-firmware/files/virt-firmware-24.2-allow-cmdline-override.patch
deleted file mode 100644
index 6dd774424784..000000000000
--- a/app-emulation/virt-firmware/files/virt-firmware-24.2-allow-cmdline-override.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-https://gitlab.com/kraxel/virt-firmware/-/merge_requests/11
-diff --git a/man/kernel-bootcfg.1 b/man/kernel-bootcfg.1
-index 089d4dc..121304e 100644
---- a/man/kernel-bootcfg.1
-+++ b/man/kernel-bootcfg.1
-@@ -38,6 +38,9 @@ update boot entry for UKI image FILE
- \fB\-\-remove\-uki\fR FILE
- remove boot entry for UKI image FILE
- .TP
-+\fB\-\-cmdline\fR CMDLINE
-+override UKIs cmdline when adding boot entry (ignored when Secure Boot is enabled) CMDLINE
-+.TP
- \fB\-\-boot\-ok\fR, \fB\-\-boot\-successful\fR
- boot is successful, update BootOrder to have current
- entry listed first.
-diff --git a/virt/firmware/bootcfg/main.py b/virt/firmware/bootcfg/main.py
-index 65f2ad3..b809380 100644
---- a/virt/firmware/bootcfg/main.py
-+++ b/virt/firmware/bootcfg/main.py
-@@ -71,6 +71,8 @@ def add_uki(cfg, options):
- if not options.title:
- logging.error('entry title not specified')
- sys.exit(1)
-+ if options.cmdline and cfg.secureboot:
-+ logging.warning("Overriding built-in UKI cmdline is not possible when Secure Boot is enabled")
-
- efiuki = linuxcfg.LinuxEfiFile(options.adduki)
- nr = cfg.find_uki_entry(efiuki.efi_filename())
-@@ -84,15 +86,25 @@ def add_uki(cfg, options):
- if efishim.device != efiuki.device:
- logging.error('shim and uki are on different filesystems')
- sys.exit(1)
-- optdata = ucs16.from_string(efiuki.efi_filename())
-+ if options.cmdline:
-+ optdata = ucs16.from_string(efiuki.efi_filename() + ' ' + options.cmdline)
-+ else:
-+ optdata = ucs16.from_string(efiuki.efi_filename())
- entry = bootentry.BootEntry(title = ucs16.from_string(options.title),
- attr = bootentry.LOAD_OPTION_ACTIVE,
- devicepath = efishim.dev_path_file(),
- optdata = bytes(optdata))
- else:
-- entry = bootentry.BootEntry(title = ucs16.from_string(options.title),
-- attr = bootentry.LOAD_OPTION_ACTIVE,
-- devicepath = efiuki.dev_path_file())
-+ if options.cmdline:
-+ optdata = ucs16.from_string(options.cmdline)
-+ entry = bootentry.BootEntry(title = ucs16.from_string(options.title),
-+ attr = bootentry.LOAD_OPTION_ACTIVE,
-+ devicepath = efiuki.dev_path_file(),
-+ optdata = bytes(optdata))
-+ else:
-+ entry = bootentry.BootEntry(title = ucs16.from_string(options.title),
-+ attr = bootentry.LOAD_OPTION_ACTIVE,
-+ devicepath = efiuki.dev_path_file())
-
- logging.info('Create new entry: %s', str(entry))
- nr = cfg.add_entry(entry)
-@@ -229,6 +241,9 @@ def main():
- help = 'update boot entry for UKI image FILE', metavar = 'FILE')
- group.add_argument('--remove-uki', dest = 'removeuki', type = str,
- help = 'remove boot entry for UKI image FILE', metavar = 'FILE')
-+ group.add_argument('--cmdline', dest = 'cmdline', type = str,
-+ help = 'override UKIs cmdline when adding boot entry '
-+ '(ignored when Secure Boot is enabled)', metavar = 'CMDLINE')
- group.add_argument('--boot-ok', '--boot-successful', dest = 'bootok',
- action = 'store_true', default = False,
- help = 'boot is successful, update BootOrder to have '
diff --git a/app-emulation/virt-firmware/virt-firmware-24.2_p20240315-r2.ebuild b/app-emulation/virt-firmware/virt-firmware-24.2_p20240320.ebuild
index 8fcfe0071043..bb4de7712a4e 100644
--- a/app-emulation/virt-firmware/virt-firmware-24.2_p20240315-r2.ebuild
+++ b/app-emulation/virt-firmware/virt-firmware-24.2_p20240320.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 systemd
-COMMIT="f278ef19b0bc94ae93881ee4ab45fcbb03926e5f"
+COMMIT="94db6a7d9eb867076d9b79536d9b9b6c065f341b"
DESCRIPTION="Tools for ovmf/armvirt firmware volumes"
HOMEPAGE="
@@ -29,7 +29,6 @@ RDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-24.2-dont-force-shim.patch"
- "${FILESDIR}/${PN}-24.2-allow-cmdline-override.patch"
)
distutils_enable_tests unittest