diff options
author | Casper Ti. Vector <CasperVector@gmail.com> | 2017-10-09 10:10:18 +0800 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-09 15:59:03 +0000 |
commit | 9efa6e1a26a19d085993a2007844724ef7e3e12f (patch) | |
tree | ca1dfb330efccb828de79fa3406729ce64e9b557 | |
parent | dd017b00960cc4c64788a3092d0b444eb592f341 (diff) | |
download | aports-9efa6e1a26a19d085993a2007844724ef7e3e12f.tar.bz2 aports-9efa6e1a26a19d085993a2007844724ef7e3e12f.tar.xz |
main/openrc: modloop.initd: avoid error with `BOOT_IMAGE=(loop)/boot/vmlinuz-hardened'.
-rw-r--r-- | main/openrc/APKBUILD | 4 | ||||
-rw-r--r-- | main/openrc/modloop.initd | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD index b282733c9e..9ddaee021b 100644 --- a/main/openrc/APKBUILD +++ b/main/openrc/APKBUILD @@ -2,7 +2,7 @@ pkgname=openrc pkgver=0.24.1 _ver=${pkgver/_git*/} -pkgrel=2 +pkgrel=3 pkgdesc="OpenRC manages the services, startup and shutdown of a host" url="http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git" arch="all" @@ -83,7 +83,7 @@ d54630d40a2d6b10a325cb012d4efcda997a60c008ca953ce5d60059d3f267308a59dabddf93a5fc c06eac7264f6cc6888563feeae5ca745aae538323077903de1b19102e4f16baa34c18b8c27af5dd5423e7670834e2261e9aa55f2b1ec8d8fdc2be105fe894d55 hwdrivers.initd 584ecbbcecb284527d7616790b6e337ace610e4b3cedf2993eca294bfbef54674aeaee3078b6c17d746a0c48b5a64a813c3534136915947e6f62a6fa206cd3ca keymaps.initd b04058ec630e19de0bafefe06198dc1bff8c8d5d2c89e4660dd83dda8bb82a76cdb1d8661cce88e4a406aa6b4152e17efff52d3eb18ffaec0751d0b6cdbcc48a modules.initd -a0ac5eba5001f20031ae4ef7439fb1e7ffffde1a2c47cfa4e9cab93f8f2e03e06a50c51b42d432e91d88f48a2207db5883f4b3c2be5911b1b255cc81f8b00725 modloop.initd +92c0245ba4d7cc6828a9b68510fb541cf3b21b9b844a858336af60e84d1db62ddb4471aad0d82ef05d639335a81014f8350a71a746c2bcd90697daa6a8c03408 modloop.initd 55df0ac13dac1f215f0c573ac07b150d31232a5204eccfc8941d5af73f91b4535a85d79b7f6514217038ecbe6bffa28cb83fd8d46fd4c596e07103deb8bc8a57 networking.initd aa702a7da8e6c0e5d8738febaf6b4e4cb021b30ce5c1809b530abf2b36739079446b16fc054740da8d86ed099942cf5deed6597cedb64c058f3def587a8b4689 modloop.confd d76c75c58e6f4b0801edac4e081b725ef3d50a9a8c9bbb5692bf4d0f804af7d383bf71a73d5d03ed348a89741ef0b2427eb6a7cbf5a9b9ff60a240639fa6ec88 sysfsconf.initd" diff --git a/main/openrc/modloop.initd b/main/openrc/modloop.initd index 060bd01f1b..9d664dd403 100644 --- a/main/openrc/modloop.initd +++ b/main/openrc/modloop.initd @@ -10,8 +10,7 @@ depend() { # read kernel options init_KOPT() { - eval set -- $(cat /proc/cmdline 2>/dev/null) - for opt; do + for opt in $(cat /proc/cmdline 2>/dev/null); do case "$opt" in modloop=*) eval "KOPT_${opt%%=*}='${opt#*=}'" ;; |