aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslinux/syslinux.trigger
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-19 09:25:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-19 09:29:27 +0000
commit66417d5e0c7870c269104b633e9d82c4554a8380 (patch)
treea45cca19ab25b844b25513d4973c5db460a04e13 /main/syslinux/syslinux.trigger
parentdf68969b81691b765f7bc224cc40bd648bb457de (diff)
downloadaports-66417d5e0c7870c269104b633e9d82c4554a8380.tar.bz2
aports-66417d5e0c7870c269104b633e9d82c4554a8380.tar.xz
main/syslinux: make trigger not fail on lxc
on lxc we dont have the boot device available so extlinux will fail. We cannot check for `openrc --sys` because apk run the trigger in chroot and grsecurity will prevent openrc access /proc/1/environment. So we simply add a --warn-only option and use that from trigger.
Diffstat (limited to 'main/syslinux/syslinux.trigger')
-rw-r--r--main/syslinux/syslinux.trigger2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/syslinux/syslinux.trigger b/main/syslinux/syslinux.trigger
index 1e463cddae..fe91f43791 100644
--- a/main/syslinux/syslinux.trigger
+++ b/main/syslinux/syslinux.trigger
@@ -1,3 +1,3 @@
#!/bin/sh
-update-extlinux
+update-extlinux --warn-only