Add support for mkinitcpio
https://bugzilla.gnome.org/show_bug.cgi?id=710682
This commit is contained in:
1 parent
c65923e642
commit
ccb10d592d
10 files changed
+46
-15
No files matched your search
@@ -33,7 +33,7 @@ depends() {
|
||||
|
||||
install() {
|
||||
dracut_install ostree-prepare-root
|
||||
inst_simple "$moddir/ostree-prepare-root.service" "${systemdsystemunitdir}/ostree-prepare-root.service"
|
||||
inst_simple "${systemdsystemunitdir}/ostree-prepare-root.service"
|
||||
mkdir -p "${initdir}${systemdsystemconfdir}/initrd-switch-root.target.wants"
|
||||
ln_r "${systemdsystemunitdir}/ostree-prepare-root.service" \
|
||||
"${systemdsystemconfdir}/initrd-switch-root.target.wants/ostree-prepare-root.service"
|
||||
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
build() {
|
||||
add_binary /usr/sbin/ostree-prepare-root
|
||||
add_binary /usr/sbin/ostree-remount
|
||||
|
||||
add_file /usr/lib/systemd/system/ostree-prepare-root.service
|
||||
add_symlink /usr/lib/systemd/system/initrd-switch-root.target.wants/ostree-prepare-root.service \
|
||||
/usr/lib/systemd/system/ostree-prepare-root.service
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
HOOKS="base systemd ostree autodetect modconf block filesystems keyboard fsck"
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user