File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
dracut/usr/lib/dracut.conf.d Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ install:
28
28
install -D -m 0644 -t $(DESTDIR ) /$(prefix ) /share/doc/bootc/baseimage/base/usr/lib/ostree/ baseimage/base/usr/lib/ostree/prepare-root.conf
29
29
install -d -m 755 $(DESTDIR ) /$(prefix ) /share/doc/bootc/baseimage/base/sysroot
30
30
cp -PfT baseimage/base/ostree $(DESTDIR ) /$(prefix ) /share/doc/bootc/baseimage/base/ostree
31
+ # Ensure we've cleaned out any possibly older files
32
+ rm -vrf $(DESTDIR )$(prefix ) /share/doc/bootc/baseimage/dracut
33
+ cp -Prf baseimage/dracut $(DESTDIR )$(prefix ) /share/doc/bootc/baseimage/dracut
31
34
32
35
# Run this to also take over the functionality of `ostree container` for example.
33
36
# Only needed for OS/distros that have callers invoking `ostree container` and not bootc.
Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ sources of content.
8
8
a hard requirement. It's not much, just an ostree configuration
9
9
enabling composefs, plus the default ` sysroot ` directory (which
10
10
may go away in the future) and the ` ostree ` symlink into ` sysroot ` .
11
+ - [ dracut] ( dracut ) : Default/basic dracut configuration; at the current
12
+ time this basically just enables ostree in the initramfs.
Original file line number Diff line number Diff line change
1
+ # Typically we want want a generic image and
2
+ # hostonly makes no sense as part of a server side build.
3
+ # (really hostonly=no should be the default if dracut detects that
4
+ # it's in a container or so)
5
+ hostonly=no
6
+ # We require ostree in the initramfs
7
+ add_dracutmodules+=" ostree "
You can’t perform that action at this time.
0 commit comments