# HG changeset patch # User Pascal Bellard # Date 1437646767 -7200 # Node ID 38b9b500383314982af38ffcad8d50ba18705ed0 # Parent c914a10942284b5ea29c620996de37afd39656bf linld: add tobzimage (again) diff -r c914a1094228 -r 38b9b5003833 linld/stuff/tobzimage --- a/linld/stuff/tobzimage Thu Jul 23 12:14:30 2015 +0200 +++ b/linld/stuff/tobzimage Thu Jul 23 12:19:27 2015 +0200 @@ -1,8 +1,9 @@ #!/bin/sh if [ "$1" == "--build" ]; then #install-begin - uuencode -m - < tobzimage.bin | sed -e '/^tobzimage$/r/dev/stdin' \ - -e '/^tobzimage$/d' -e '/install-begin$/,/install-end$/d' -i $0 + cat tobzimage.bin | gzip -9 | uuencode -m | sed \ + -e '/^tobzimage$/r/dev/stdin' -e '/^tobzimage$/d' \ + -e '/install-begin$/,/install-end$/d' -i $0 exit fi #install-end [ -s "$1" -a "$2" ] || {