scripts/image: update NOOBS support to create marketing.tar, thanks to Gordon
Signed-off-by: Stephan Raue <stephan@openelec.tv>
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
@ -419,15 +419,10 @@ fi
|
||||
cp -PR $ROOT/config/noobs/os.json $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
cp -PR $ROOT/config/noobs/partition_setup.sh $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
cp -PR $ROOT/config/noobs/partitions.json $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
if [ -d $DISTRO_DIR/$DISTRO/noobs/slides ]; then
|
||||
cp -PR $DISTRO_DIR/$DISTRO/noobs/slides $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
if [ -d $DISTRO_DIR/$DISTRO/noobs/marketing ]; then
|
||||
tar cf $RELEASE_DIR/${DISTRONAME}_${PROJECT}/marketing.tar -C $DISTRO_DIR/$DISTRO/noobs/marketing .
|
||||
else
|
||||
cp -PR $ROOT/config/noobs/slides $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
fi
|
||||
if [ -d $DISTRO_DIR/$DISTRO/noobs/slides_vga ]; then
|
||||
cp -PR $DISTRO_DIR/$DISTRO/noobs/slides_vga $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
else
|
||||
cp -PR $ROOT/config/noobs/slides_vga $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
tar cf $RELEASE_DIR/${DISTRONAME}_${PROJECT}/marketing.tar -C $ROOT/config/noobs/marketing .
|
||||
fi
|
||||
cp $ROOT/README* $RELEASE_DIR/${DISTRONAME}_${PROJECT}
|
||||
cp $ROOT/CHANGELOG $RELEASE_DIR/${DISTRONAME}_${PROJECT}/release_notes.txt
|
||||
|