Skip to content

Commit 8b18698

Browse files
authored
PE-7481: add /boot as default bind mount for uki (#454)
1 parent 7322a34 commit 8b18698

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Earthfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,6 @@ base-image:
666666

667667
IF [ "$IS_UKI" = "true" ]
668668
# create empty boot directory to support services like longhorn which require /boot
669-
RUN mkdir -p /boot
670669
COPY cloudconfigs/80_stylus_uki.yaml /system/oem/80_stylus_uki.yaml
671670
END
672671

cloudconfigs/80_stylus_uki.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#cloud-config
22
stages:
3+
rootfs:
4+
- name: "custom mounts"
5+
environment_file: /run/cos/cos-layout.env
6+
environment:
7+
CUSTOM_BIND_MOUNTS: "/boot"
38
initramfs:
49
- if: '[ -e "/run/cos/uki_boot_mode" ] && [ ! -f "/run/cos/live_mode" ]'
510
name: link agent provider stylus

0 commit comments

Comments
 (0)