# HG changeset patch # User Pascal Bellard # Date 1462453095 -7200 # Node ID 425bf14d2b84a1f5ae9fff199a7641f02ad4aede # Parent 3b857a987d2bd88e89ef1e624451f2f78ec489c3 Add tazprm diff -r 3b857a987d2b -r 425bf14d2b84 rpi/tazbian --- a/rpi/tazbian Wed Mar 30 01:27:39 2016 +0300 +++ b/rpi/tazbian Thu May 05 14:58:15 2016 +0200 @@ -10,13 +10,14 @@ [ $(id -u) -ne 0 ] && echo "Must be root. Abort." && exit 1 -REVISION=2 +REVISION=3 DESTDIR=var/os/slitaz DESCRIPTION="Tiny Linux distribution with multi boot features" LONG_DESCRIPTION="SliTaz can run fully in RAM or can be installed \ on the SD card in a\nsubdirectory of your Raspbian (example /$DESTDIR)." WEB_SITE="http://arm.slitaz.org/rpi/" MAINTAINER="Pascal Bellard " +LICENSE=GPL tazpkg() { @@ -59,6 +60,7 @@ for file in $(sed '/rpi-base/!d;q' index) $(sed '/rpi-desktop/!d;q' index); do echo "Get $file " wget -O - $URL$file | tar xjf - + WGET_URL=$URL$file done mkdir -p fs/$DESTDIR fs/boot/slitaz fs/boot/slitaz-base fs/boot/slitaz-live \ @@ -230,7 +232,7 @@ readonly #noedit #nowebboot -#webpath=http://my.home.web.site/pxe/rpi/index.php http://or.this.one/rpi.txt +#webpath=http://my.home.web.site/pxe/rpi/index.php,http://or.this.one/rpi.txt EOM echo "entry=$menustr" > /boot/$raspos/menu.txt KERNEL=\$(sed '/^kernel/!d;s/.*=//' /boot/config.txt) @@ -377,7 +379,7 @@ packager = $MAINTAINER size = $(du -s . | awk "{ print \$1*1024+$LIVESZ }") arch = armv6h -license = GPL +license = $LICENSE EOT cat > .INSTALL < rpm.spec <