[Balloon-svn] r1179 - in balloon/trunk/rootfs/debian/balloon…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: subversion@balloonboard.org
Date:  
To: balloon-svn
Subject: [Balloon-svn] r1179 - in balloon/trunk/rootfs/debian/balloon3-config: . debian
Author: codehelp
Date: 2010-07-06 11:07:16 +0100 (Tue, 06 Jul 2010)
New Revision: 1179

Modified:
balloon/trunk/rootfs/debian/balloon3-config/README
balloon/trunk/rootfs/debian/balloon3-config/debian/changelog
balloon/trunk/rootfs/debian/balloon3-config/debian/control
balloon/trunk/rootfs/debian/balloon3-config/debian/copyright
balloon/trunk/rootfs/debian/balloon3-config/debian/install
balloon/trunk/rootfs/debian/balloon3-config/debian/postinst
balloon/trunk/rootfs/debian/balloon3-config/debian/rules
Log:
Remove all files from package (to prevent removal of /etc/fstab if
this package gets purged), leave only chpasswd until Debian supports
a debconf method for runtime passwd.

Modified: balloon/trunk/rootfs/debian/balloon3-config/README
===================================================================
--- balloon/trunk/rootfs/debian/balloon3-config/README    2010-07-03 08:26:44 UTC (rev 1178)
+++ balloon/trunk/rootfs/debian/balloon3-config/README    2010-07-06 10:07:16 UTC (rev 1179)
@@ -1,4 +1,2 @@
-This is a very minimal package. It contains a postinstall script
-to set up a rootfs for balloon3 (as a debootstrap 2nd stage). It 
-also installs various base files to control console, networking, mounts
-and ensures a couple of basic packages are installed (ntpdate, udev)
+This is a very minimal package to set a default root
+password of 'rootme'.


Modified: balloon/trunk/rootfs/debian/balloon3-config/debian/changelog
===================================================================
--- balloon/trunk/rootfs/debian/balloon3-config/debian/changelog    2010-07-03 08:26:44 UTC (rev 1178)
+++ balloon/trunk/rootfs/debian/balloon3-config/debian/changelog    2010-07-06 10:07:16 UTC (rev 1179)
@@ -1,3 +1,11 @@
+balloon3-config (0.6) unstable; urgency=low
+
+  * Remove all files from package (to prevent removal of /etc/fstab if
+    this package gets purged), leave only chpasswd until Debian supports
+    a debconf method for runtime passwd.
+
+ -- Neil Williams <>  Mon, 05 Jul 2010 14:29:42 +0100
+
 balloon3-config (0.5) unstable; urgency=low


* remove avahi from default build - to match rootfs construction

Modified: balloon/trunk/rootfs/debian/balloon3-config/debian/control
===================================================================
--- balloon/trunk/rootfs/debian/balloon3-config/debian/control    2010-07-03 08:26:44 UTC (rev 1178)
+++ balloon/trunk/rootfs/debian/balloon3-config/debian/control    2010-07-06 10:07:16 UTC (rev 1179)
@@ -2,13 +2,14 @@
 Section: base
 Priority: required
 Maintainer: Wookey <>
+Uploaders: Neil Williams <>
 Build-Depends: debhelper (>= 5.0.0)
-Standards-Version: 3.7.2
+Standards-Version: 3.8.0


Package: balloon3-config
Architecture: all
-Priority: required
-Depends: passwd, hostname, ntpdate, udev, lrzsz, dash, wireless-tools
-Description: Balloon 3 Debian Rootfs configuration
- Scripts and files to modify a standard debootstrap rootfs to be suitable for Balloon3 use.
- It sets console, devices, modules, hostname, mounts etc.
+Depends: passwd
+Description: Set a default root password
+ Temporary package to set the default root password.
+ .
+ Can be safely removed after installation.

Modified: balloon/trunk/rootfs/debian/balloon3-config/debian/copyright
===================================================================
--- balloon/trunk/rootfs/debian/balloon3-config/debian/copyright    2010-07-03 08:26:44 UTC (rev 1178)
+++ balloon/trunk/rootfs/debian/balloon3-config/debian/copyright    2010-07-06 10:07:16 UTC (rev 1179)
@@ -1,7 +1,7 @@
 This package was created by Wookey <> on
 Fri, 27 Jan 2006 13:07:55 +0100.


-Copyright Holder: Wookey <>
+Copyright 2006 Wookey <>

License:

@@ -20,4 +20,4 @@
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA


On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
+Public License can be found in `/usr/share/common-licenses/GPL-2'.

Modified: balloon/trunk/rootfs/debian/balloon3-config/debian/install
===================================================================
--- balloon/trunk/rootfs/debian/balloon3-config/debian/install    2010-07-03 08:26:44 UTC (rev 1178)
+++ balloon/trunk/rootfs/debian/balloon3-config/debian/install    2010-07-06 10:07:16 UTC (rev 1179)
@@ -1,21 +1 @@
-files/interfaces etc/network            
-files/fstab etc               
-files/modules etc            
-files/apt/preferences etc/apt                   
-files/apt/sources.list etc/apt
-files/mountall.sh /etc/init.d
-files/inittab /etc
-files/urandom /etc/init.d
-files/dhclient.conf /etc/dhcp3
-files/firmware/libertas_cs.fw /lib/firmware
-files/firmware/libertas_cs_helper.fw /lib/firmware


-
-
-
-
-
-
-
-
-

Modified: balloon/trunk/rootfs/debian/balloon3-config/debian/postinst
===================================================================
--- balloon/trunk/rootfs/debian/balloon3-config/debian/postinst    2010-07-03 08:26:44 UTC (rev 1178)
+++ balloon/trunk/rootfs/debian/balloon3-config/debian/postinst    2010-07-06 10:07:16 UTC (rev 1179)
@@ -1,7 +1,6 @@
 #! /bin/sh


set -e
-ROOT=""

 case "$1" in
     configure)
@@ -12,37 +11,10 @@
         # and 'changed 1 day after 1970'
         chage -E -1 root
         chage -d 1 root
-        #set hostname
-        echo balloon > $ROOT/etc/hostname
-        #be nice to put these in the right places in files (awk?)
-        echo "127.0.0.1       localhost.localdomain   localhost" > ${ROOT}/etc/hosts
-         echo "127.0.1.1       balloon   balloon" >> ${ROOT}/etc/hosts
-        #add serial ports to securetty
-#        if grep -q ttyS2 /etc/securetty; then 
-#            echo "securetty already has ttyS2 listed"; 
-#        else
-#        echo -e "ttyS1\nttyS2" >> ${ROOT}/etc/securetty
-#        fi
-        #clear out debs and lists from cache
-        rm -rf ${ROOT}/var/cache/apt/archives/*.deb
-        rm -rf ${ROOT}/var/lib/apt/lists/*
-        mkdir ${ROOT}/var/lib/apt/lists/partial
-        touch /var/lib/apt/lists/_mnt_sda1_dists_balloon-etch_main_binary-arm_Packages
-        #point /dev/random at /dev/urandom as without a keyboard we don't get enough entropy
-        ln -sf /dev/urandom /dev/random
-        #modify /etc/init.d/mount.sh to fix '/ not executable issue'
-        #sed-magic "chmod +x /" in /etc/init.d/mount.sh
-        #use bash, not dash - saves 10 seconds 
-        ln -sf /bin/dash /bin/sh
-        #add file to ignore ipv6
-        echo "alias net-pf-10 off"
-         
         fi
     ;;
-
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;
-
     *)
         echo "postinst called with unknown argument \`$1'" >&2
         exit 1


Modified: balloon/trunk/rootfs/debian/balloon3-config/debian/rules
===================================================================
--- balloon/trunk/rootfs/debian/balloon3-config/debian/rules    2010-07-03 08:26:44 UTC (rev 1178)
+++ balloon/trunk/rootfs/debian/balloon3-config/debian/rules    2010-07-06 10:07:16 UTC (rev 1179)
@@ -16,19 +16,14 @@
     dh_testdir
     dh_testroot
     dh_clean -k
-#    dh_installdirs
-    dh_install


 binary-indep: install
     dh_testdir
     dh_testroot
     dh_installchangelogs
-#    dh_installdocs -s
-#    dh_installman -s
-#    dh_link -s
-#    dh_strip -s
-#    dh_compress -s
+    dh_installdocs
     dh_fixperms
+    dh_compress
     dh_installdeb
     dh_gencontrol
     dh_md5sums