p.author="Alan Bruce (qole)"
p.mail="alan@thebruces.ca"
- p.depends = "easy-chroot"
+ p.depends = "easy-chroot, bzip2, wget"
p.section="user/system"
p.icon = "deblet-48.png"
p.arch="armel" #should be all for python, any for all arch
# p.postinstall="postinst"
# p.postremove="postrm"
# p.preinstall="preinst"
+ qoleprerm = open("control/preinst", "r")
+ p.preremove=qoleprerm.read()
# p.preremove=""
- version = "0.9.30" #Version of your software, e.g. "1.2.0" or "0.8.2"
- build = "1fremantle3" #Build number
+ version = "0.9.33" #Version of your software, e.g. "1.2.0" or "0.8.2"
+ build = "1fremantle1" #Build number
#Text with changelog information to be displayed in the package "Details" tab of the HAM
changeloginformation = "0.9.30 First version for Fremantle. Stripped down, but works."
#!/bin/sh
+/sbin/closechroot
+
exit 0
\ No newline at end of file
#!/bin/sh
-## New! Ask where the user wishes to install the package with gxmessage:
+## Ask where the user wishes to install the package with gxmessage:
export GXMSG=`printf "\
Where do you want your Debian image file installed?\n\
export INSTPATH="/home/user/img-install"
export TARPATH="$SDCARD"
export DLURL="http://qole.org/files"
-export BZ2CMD1="bzip2 -d "
-export BZ2CMD2="$TARPATH"
#This doesn't work:
#export BZ2CMD1="bzcat"
#export BZ2CMD2="| tar xf -"
export EXTPATH1=$TARPATH
export PKGNAME1="EASY DEBIAN IMAGE FILE"
export BIGTAR1="debian-squeeze-m5-img.bz2"
+export BIGIMG1="debian-squeeze-m5.img.ext2"
+export BZ2CMD1="bzip2 -dc "
+export BZ2CMD2=" > $TARPATH/$BIGIMG1"
export TARCMD1="$BZ2CMD1 $TARPATH/$BIGTAR1 $BZ2CMD2"
export MD51="f769bb84c99f75821bdfa37e5ea34e86"
export EXTCMD1=""
cd $EXTPATH1
echo Extracting the image file. This will take some time.
- TARERR=`$TARCMD1 2>&1`
+
+ # Oh wow, this is even more of an ugly hack than my
+ # usual ugly hacks. So sorry you had to see this.
+
+ # TARERR=`$TARCMD1 2>&1`
+ TARERR="unspecified bzip2 error"
+ # echo $TARCMD1
+ $BZ2CMD1 $TARPATH/$BIGTAR1 > $TARPATH/$BIGIMG1
if [ "$?" = 0 ] ; then
rm -rf $TARPATH/$BIGTAR1
$EXTCMD1
-debbie xephwm2 easy-debian startlxde1
+/usr/bin/hostwin easy-debian x 'Log out to exit. CTRL-Backspace to get to the dashboard.' &
+sleep 1
+debbie xephwm easy-debian startlxde1
+killall hostwin
\ No newline at end of file
Encoding=UTF-8
Name=Debian LXDE
GenericName=Debian LXDE
-Exec=/usr/bin/hostwin easy-debian /usr/bin/debwm 'This is the Easy Debian LXDE window.\nLog out instead of closing this window.\nCTRL-Backspace to get to the dashboard.'
+Exec=/usr/bin/debwm
Icon=deblet
X-Osso-Type=application/x-executable
X-HildonDesk-ShowInToolbar=true