Browse Source

02caps: changed pre-pivot priority to 00

caps should be dropped before any actions with the mounted rootfs happen
master
Harald Hoyer 14 years ago
parent
commit
dc36969ae1
  1. 2
      modules.d/02caps/module-setup.sh

2
modules.d/02caps/module-setup.sh

@ -11,7 +11,7 @@ depends() {
} }


install() { install() {
inst_hook pre-pivot 99 "$moddir/caps.sh" inst_hook pre-pivot 00 "$moddir/caps.sh"
inst $(type -P capsh 2>/dev/null) /usr/sbin/capsh inst $(type -P capsh 2>/dev/null) /usr/sbin/capsh
# capsh wants bash and we need bash also # capsh wants bash and we need bash also
inst /bin/bash && ln -sf bash "${initdir}/bin/sh" inst /bin/bash && ln -sf bash "${initdir}/bin/sh"

Loading…
Cancel
Save