((counter=0))
for pkg in `ls -A $hdw_build_dir/var/adm/flists | grep -v '.stage'`; do
- tar_name=`echo $pkg | awk -F- '{ print $1 }'`
+ tar_name=`echo $pkg | sed "s/-[0-9].*//g"`
./scripts/Create-Binary -package $pkg -root $hdw_build_dir \
- -tar_name $tar_name
+ -tar-name $tar_name
((counter+=1))
done
# add 00-dirtree, build in stage1
-./scripts/Create-Binary -package 00-dirtree.stage0-0 -tar-name 00-dirtree
+./scripts/Create-Binary -package 00-dirtree.stage0-0 -tar-name 00-dirtree \
+ -root $hdw_build_dir
((counter+=1))
echo "created $counter binaries, done"