mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
bcm2835-bootloader: support multiple distroconfig files in update/release
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
813e9a29bb
commit
4337d4ff7e
@ -47,10 +47,12 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
# Add distro config file
|
||||
if [ -f $SYSTEM_ROOT/usr/share/bootloader/distroconfig.txt ]; then
|
||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/distroconfig.txt $BOOT_ROOT
|
||||
fi
|
||||
# Add distro config files
|
||||
for distro in "$SYSTEM_ROOT/usr/share/bootloader/distroconfig"*.txt ; do
|
||||
if [ -f "${distro}" ]; then
|
||||
cp -p "${distro}" $BOOT_ROOT
|
||||
fi
|
||||
done
|
||||
|
||||
# mount $BOOT_ROOT r/o
|
||||
sync
|
||||
|
@ -15,6 +15,8 @@ mkdir -p $RELEASE_DIR/3rdparty/bootloader
|
||||
if [ -f $INSTALL/usr/share/bootloader/config.txt ]; then
|
||||
cp -PR $INSTALL/usr/share/bootloader/config.txt $RELEASE_DIR/3rdparty/bootloader/
|
||||
fi
|
||||
if [ -f $INSTALL/usr/share/bootloader/distroconfig.txt ]; then
|
||||
cp -PR $INSTALL/usr/share/bootloader/distroconfig.txt $RELEASE_DIR/3rdparty/bootloader/
|
||||
fi
|
||||
for distro in "$INSTALL/usr/share/bootloader/distroconfig"*.txt ; do
|
||||
if [ -f "${distro}" ]; then
|
||||
cp -PR "${distro}" $RELEASE_DIR/3rdparty/bootloader/
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user