Skip to content

Commit 1df16ed

Browse files
jeckersbcgwalters
authored andcommitted
Use --nosignature when installing dev rpms
Newer fedora (rawhide at least) checks signatures by default and will fail to install these since they're not signed Signed-off-by: John Eckersberg <jeckersb@redhat.com>
1 parent d69621d commit 1df16ed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ ARG boot_type
202202
# Install our bootc package (only needed for the compute-composefs-digest command)
203203
RUN --network=none --mount=type=tmpfs,target=/run --mount=type=tmpfs,target=/tmp \
204204
--mount=type=bind,from=packages,src=/,target=/run/packages \
205-
rpm -Uvh --oldpackage /run/packages/bootc-*.rpm
205+
rpm -Uvh --oldpackage --nosignature /run/packages/bootc-*.rpm
206206
RUN --network=none --mount=type=tmpfs,target=/run --mount=type=tmpfs,target=/tmp \
207207
--mount=type=secret,id=secureboot_key \
208208
--mount=type=secret,id=secureboot_cert \

contrib/packaging/install-rpm-and-setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RPM_DIR="${1:-/tmp}"
66

77
# Install the RPM package
88
# Use rpm -Uvh with --oldpackage to allow replacing with dev version
9-
rpm -Uvh --oldpackage "${RPM_DIR}"/*.rpm
9+
rpm -Uvh --oldpackage --nosignature "${RPM_DIR}"/*.rpm
1010
# Note: we don't need to clean up the source directory since it's a bind mount
1111

1212
# Regenerate initramfs if we have initramfs-setup

0 commit comments

Comments
 (0)