|
|
@ -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" |
|
|
|
|
|
|
|