Browse Source

util-vserver: work-arounded bug in fl_wrapper by add_flist'ing every node created by create_nodes.sh

legacy/0.1-legacy
Alejandro Mery 16 years ago
parent
commit
c3b286bb35
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      pkg_util-vserver.conf

+ 5
- 1
pkg_util-vserver.conf

@ -20,11 +20,15 @@ sheba_util_vserver_populate()
local udevconfdir=$( pkgdesc confdir udev )
local devdir="$root$sysconfdir/vservers/.defaults/dev"
local targetdir="$base/target/$target"
local node=
overlay_apply "$targetdir/pkgs/$pkg"
mkdir -p "$devdir"
"$udevconfdir/create_nodes.sh" "$devdir" < $targetdir/pkgs/util-vserver.device_nodes.txt
"$udevconfdir/create_nodes.sh" "$devdir" < $targetdir/pkgs/util-vserver.device_nodes.txt |
while read node; do
add_flist "$node"
done
}
hook_add postmake 5 "sheba_util_vserver_populate"

Loading…
Cancel
Save