From c3b286bb352c6a1de8075e89a2e10c8873c24f8e Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 31 Jul 2008 02:27:41 +0300 Subject: [PATCH] util-vserver: work-arounded bug in fl_wrapper by add_flist'ing every node created by create_nodes.sh --- pkg_util-vserver.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"