- New overlay bundle which provides the MLL sources. - The build process has been enhanced. --- Sources are provided as part of the new overlay bundle. --- The MLL scripts have been refactored to handle the above change. --- The overlay dependency file has been renamed. NOTE: at this point some overlay bundles may be broken due to the numerous changes that haven't been fully tested.
29 lines
501 B
Bash
Executable File
29 lines
501 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
. ../../common.sh
|
|
|
|
if [ ! -d $SYSROOT ] ; then
|
|
echo "Cannot continue - GLIBC is missing. Please buld GLIBC first."
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p "$WORK_DIR/overlay/$BUNDLE_NAME"
|
|
cd $WORK_DIR/overlay/$BUNDLE_NAME
|
|
|
|
rm -rf $DEST_DIR
|
|
|
|
mkdir -p $DEST_DIR/lib
|
|
cp $SYSROOT/lib/libnsl.so.1 $DEST_DIR/lib/
|
|
ln -s libnsl.so.1 $DEST_DIR/lib/libnsl.so
|
|
|
|
echo "Reducing $BUNDLE_NAME size"
|
|
strip -g $DEST_DIR/lib/*
|
|
|
|
cp -r $DEST_DIR/* $OVERLAY_ROOTFS
|
|
|
|
echo "$BUNDLE_NAME has been installed."
|
|
|
|
cd $SRC_DIR
|