aports/main/syslinux/syslinux.trigger
Natanael Copa 66417d5e0c 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.
2015-05-19 09:29:27 +00:00

4 lines
39 B
Bash

#!/bin/sh
update-extlinux --warn-only