|
@ -19,13 +19,12 @@ sheba_util_vserver_populate() |
|
|
{ |
|
|
{ |
|
|
local udevconfdir=$( pkgdesc confdir udev ) |
|
|
local udevconfdir=$( pkgdesc confdir udev ) |
|
|
local devdir="$root$sysconfdir/vservers/.defaults/dev" |
|
|
local devdir="$root$sysconfdir/vservers/.defaults/dev" |
|
|
local targetdir="$base/target/$target" |
|
|
|
|
|
local node= |
|
|
local node= |
|
|
|
|
|
|
|
|
overlay_apply "$targetdir/pkgs/$pkg" |
|
|
|
|
|
|
|
|
overlay_apply "$base/target/$target/pkgs/$pkg" |
|
|
|
|
|
|
|
|
mkdir -p "$devdir" |
|
|
mkdir -p "$devdir" |
|
|
"$udevconfdir/create_nodes.sh" "$devdir" < $targetdir/pkgs/util-vserver.device_nodes.txt | |
|
|
|
|
|
|
|
|
"$udevconfdir/create_nodes.sh" "$devdir" < $root$docdir/nodes.txt | |
|
|
while read node; do |
|
|
while read node; do |
|
|
add_flist "$node" |
|
|
add_flist "$node" |
|
|
done |
|
|
done |
|
|