Skip to content

Commit

Permalink
Make shim an optional package for server-image
Browse files Browse the repository at this point in the history
  • Loading branch information
juliogonzalez committed Jan 15, 2024
1 parent 53ab6f6 commit eed4cc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion containers/server-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ FROM $INIT_IMAGE

ARG PRODUCT_PATTERN_PREFIX="patterns-uyuni"

# Extra packages can be added via project configuration
ARG EXTRAPACKAGES

COPY timezone_alignment.sh /usr/bin

# Copy timezone link update service
Expand All @@ -17,10 +20,10 @@ RUN echo "rpm.install.excludedocs = yes" >>/etc/zypp/zypp.conf
# Main packages
RUN zypper ref && zypper --non-interactive up
RUN zypper --gpg-auto-import-keys --non-interactive install --auto-agree-with-licenses --force-resolution \
${EXTRAPACKAGES} \
${PRODUCT_PATTERN_PREFIX}_server \
${PRODUCT_PATTERN_PREFIX}_retail \
spacewalk-utils-extras \
shim \
grub2-x86_64-efi \
ed \
susemanager-tftpsync \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Make shim an optional package as it is not available for all
architectures

0 comments on commit eed4cc3

Please sign in to comment.