diff --git a/pkg_util-vserver.conf b/pkg_util-vserver.conf index 1576d43..5460690 100644 --- a/pkg_util-vserver.conf +++ b/pkg_util-vserver.conf @@ -19,13 +19,12 @@ 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" + overlay_apply "$base/target/$target/pkgs/$pkg" 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 add_flist "$node" done diff --git a/pkgs/util-vserver.device_nodes.txt b/pkgs/util-vserver/D%docdir_nodes.txt similarity index 100% rename from pkgs/util-vserver.device_nodes.txt rename to pkgs/util-vserver/D%docdir_nodes.txt