Make suggested changes for PR.

This commit is contained in:
Mark Walker 2016-06-10 12:47:57 +02:00
parent 311d20b12b
commit b81c15c241
3 changed files with 7 additions and 1 deletions

View File

@ -51,7 +51,10 @@ makeinstall_target() {
if [ -f $DISTRO_DIR/$DISTRO/config/distroconfig.txt ]; then if [ -f $DISTRO_DIR/$DISTRO/config/distroconfig.txt ]; then
cp -PRv $DISTRO_DIR/$DISTRO/config/distroconfig.txt $INSTALL/usr/share/bootloader cp -PRv $DISTRO_DIR/$DISTRO/config/distroconfig.txt $INSTALL/usr/share/bootloader
else
cp -PRv $PKG_DIR/files/3rdparty/bootloader/distroconfig.txt $INSTALL/usr/share/bootloader
fi fi
if [ -f $DISTRO_DIR/$DISTRO/config/config.txt ]; then if [ -f $DISTRO_DIR/$DISTRO/config/config.txt ]; then
cp -PRv $DISTRO_DIR/$DISTRO/config/config.txt $INSTALL/usr/share/bootloader cp -PRv $DISTRO_DIR/$DISTRO/config/config.txt $INSTALL/usr/share/bootloader
else else

View File

@ -54,7 +54,10 @@
# sed -e "s,gpu_mem_256=100,# gpu_mem_256=128,g" -i $BOOT_ROOT/config.txt # sed -e "s,gpu_mem_256=100,# gpu_mem_256=128,g" -i $BOOT_ROOT/config.txt
# sed -e "s,gpu_mem_512=128,# gpu_mem_512=128,g" -i $BOOT_ROOT/config.txt # sed -e "s,gpu_mem_512=128,# gpu_mem_512=128,g" -i $BOOT_ROOT/config.txt
# Add distribution specific extra configuration file for the bootloader # Add distribution specific extra configuration file for the bootloader
elif [ -f $SYSTEM_ROOT/usr/share/bootloader/distroconfig.txt ]; then fi
# Add distro config file.
if [ -f $SYSTEM_ROOT/usr/share/bootloader/distroconfig.txt ]; then
cp $SYSTEM_ROOT/usr/share/bootloader/distroconfig.txt $BOOT_ROOT cp $SYSTEM_ROOT/usr/share/bootloader/distroconfig.txt $BOOT_ROOT
fi fi