diff --git a/pkg_util-vserver.conf b/pkg_util-vserver.conf index 13f1382..1576d43 100644 --- a/pkg_util-vserver.conf +++ b/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"