[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booth at FSCONS 2012



Hi Per!

Adding debian-boot@ for BabelBox information.

On Mon, 05 Nov 2012 21:06:38 +0100, Per Andersson wrote:
>> I have not finished yet to fix the squeeze version, but you should
>> forget about it and use setup a wheezy BabelBox.  I already have a
>> working installation for the latter, so I can simply send you the
>> tarball ;-)
>
> Can you send me the tarball?! :-D

Good point, thank you for the reminder.

The squeeze tarball is useless, simply clone the Git repository and
follow the instructions on the wiki:

  <http://anonscm.debian.org/gitweb/?p=d-i/babelbox.git;a=summary>
  <http://wiki.debian.org/DebianInstaller/BabelBox>

The above works also OK on a KVM/libvirt installation: replace the three
occurrences of sda in 00del_partition, babelbox-grub and cronscript.

For wheezy, if you want to show GNOME 3 you need 3D, which means that
you should probably also install one of the firmware-* packages.  The
following patch should be enough, tested on the Debian Events Box, but
not yet on a VM (and I will polish it before committing...):

--8<---------------cut here---------------start------------->8---
diff --git a/preseed.cfg b/preseed.cfg
index 2838d22..ac5a239 100644
--- a/preseed.cfg
+++ b/preseed.cfg
@@ -82,8 +91,7 @@ d-i lilo-installer/skip bollean true
 tasksel tasksel/first multiselect
 
 ## instead install a quite minimal GNOME setup and desktop-base (for spacefun theme)
-d-i pkgsel/include string gdm3, gnome-session, gnome-icon-teme, desktop-base, 
-xserver-xorg-core, xserver-xorg-input-evdev, xserver-xorg-video-vesa, xserver-xorg
+d-i pkgsel/include string alsa-base, alsa-utils, gdm3, gnome-session, gnome-icon-teme, desktop-base, xserver-xorg-core, xserver-xorg-input-evdev, xserver-xorg-video-vesa, xserver-xorg-video-fbdev, xserver-xorg-video-all, xserver-xorg, plymouth
 
 # Don't install popcon
 popularity-contest popularity-contest/participate boolean false
diff --git a/preseed_early b/preseed_early
old mode 100755
new mode 100644
index efb2074..f7ad297
--- a/preseed_early
+++ b/preseed_early
@@ -11,7 +11,4 @@ db_info babelbox/info || true
 mkdir -p /lib/partman/init.d
 cp /hd-media/srv/babelbox/00del_partition /lib/partman/init.d/
 
-apt-install alsa-base || true
-apt-install alsa-utils || true
-
 exit 0
diff --git a/preseed_late b/preseed_late
old mode 100755
new mode 100644
index 708775c..7d9bffc
--- a/preseed_late
+++ b/preseed_late
@@ -13,10 +13,20 @@ mount /dev/discs/disc0/part1 /hd-media -o remount,rw
 
 sed -i "s/^set default=.*$/set default=\"3\"/" /hd-media/boot/grub/grub.cfg
 
+# Install extra packages, e.g. firmware needed for graphics cards
+for I in $(find /hd-media/srv/babelbox/ -type f -name \*.deb -maxdepth 1 2>&1) ; do
+	cp -f "$I" /target/var/cache/apt/archives/
+	chroot /target dpkg -i /var/cache/apt/archives/$(basename "$I")
+done
 if [ -d /target/etc/gdm3 ] ; then
 	# Enable automatic login (chroot because of bug in busybox sed)
 	chroot /target sed -i "/^\[daemon\]/a\AutomaticLoginEnable = true\nAutomaticLogin = debian" /etc/gdm3/daemon.conf
 fi
+if [ -x /target/usr/sbin/plymouth-set-default-theme ] ; then
+	# Set default plymouth theme
+	chroot /target plymouth-set-default-theme spacefun
+	chroot /target dpkg-reconfigure plymouth
+fi
 
 
 exit 0
--8<---------------cut here---------------end--------------->8---

Please report your experience :-)

Thx, bye,
Gismo / Luca

Attachment: pgpGXI0PwDS7E.pgp
Description: PGP signature


Reply to: