Bigfix: properly merge the default overlay directory and the

overlay bundles.
Minor enhancement for the 'static_get' bundle. Currently the
'wget' package from 'static_get' is required to be present in the
default overlay directory in order to fix an incompatibility issue
with the default implementation of 'wget' in BusyBox. Permanent
solution will be to provide the 'wget' from 'static_get' as part
of the build process of the 'static_get' overlay bundle.
This commit is contained in:
Ivan Davidov 2017-03-11 00:54:01 +02:00
parent a510e9ac3e
commit c2e50f8fb5
2 changed files with 9 additions and 0 deletions

View File

@ -23,6 +23,7 @@ cp static-get.sh $MAIN_SRC_DIR/work/overlay/staget/staget_installed/opt/staget
cd $MAIN_SRC_DIR/work/overlay/staget/staget_installed
ln -s ../opt/staget/static-get.sh bin/static-get
ln -s ../opt/staget/static-get.sh bin/mll-get
cp -r $MAIN_SRC_DIR/work/overlay/staget/staget_installed/* \
$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs

View File

@ -18,6 +18,14 @@ for dir in $(ls -d */ 2>/dev/null) ; do
echo "Overlay folder '$dir' has been removed."
done
cd $SRC_DIR/../minimal_overlay/rootfs
# Copy the files/folders from the default overlay folder
for dir in $(ls -d */ 2>/dev/null) ; do
cp -r $dir $SRC_DIR/../work/src/minimal_overlay/rootfs
echo "Default overlay folder '$dir' has been prepared."
done
echo "Ready to continue with the overlay software."
cd $SRC_DIR