Andres Salomon [Fri, 19 Nov 2010 20:36:27 +0000 (12:36 -0800)]
debxo: drop hal keymapping stuff
Keymappings for OLPC are now handled by udev (and included upstream). In order
for this to work, OFW must have DMI support. Newer versions of OFW all have it,
so upon detection of an OLPC machine, udev should automatically load the correct
keymap (and it should work properly for both X and console).
If using an older OFW that lacks DMI support, upgrading is recommended. If
that's not an option, just add something like the following to your
/etc/rc.local (this will force manual loading of the keymaps):
/lib/udev/keymap /dev/input/event0 olpc-xo
Signed-off-by: Andres Salomon <dilinger@queued.net>
Andres Salomon [Fri, 5 Nov 2010 18:49:54 +0000 (11:49 -0700)]
mkext3: add --skip-grub option
For buildling debxo images (or other non-x86 images), we don't care about
installing grub. Furthermore, on some platforms, we don't have the grub
command.. so requiring grub to generate images is a non-starter.
The long-term solution to this is to have something like:
--use-bootloader=grub
...where one can use that to select between grub, ofw, uboot, etc.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Andres Salomon [Sun, 21 Feb 2010 23:25:06 +0000 (18:25 -0500)]
debxo: add initial ubifs support
New script 'mkubifs.sh' for creating an image w/ a jffs2 /boot and an ubifs /.
It requires a new(er) kernel, possibly a newer initramfs-tools.. so for now,
it's not enabled. Hopefully soon..
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Andres Salomon [Fri, 11 Sep 2009 03:51:40 +0000 (23:51 -0400)]
debxo-*: replace autox with nodm
Someone beat me to writing what would've been called autox. It's called Nodm,
and it works pretty well. I've uploaded nodm to backports.org, and this
replaces use of my custom autox stuff with nodm/lenny-backports packages.
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
James Cameron [Tue, 4 Aug 2009 09:48:59 +0000 (19:48 +1000)]
rework boot script for usb key to nand installer
- mkbootable.sh: refer to xodist rather than debxo (the image names may
contain debxo), prompt for a more complex confirmation keyboard
sequence, allow for abort.
- note that the xodist as at this version does not currently generate a
working XO NAND, tested on OLPC XO-1 C2 with OFW Q2E41B.
Andres Salomon [Sun, 12 Jul 2009 03:10:08 +0000 (23:10 -0400)]
debxo: use initramfs-tools and xserver-xorg-video-geode from backports
This switches over to using backports.org for initramfs-tools and
xserver-xorg-video-geode. Slowly, the other packages will make
their way to backports.org as well (until we no longer need
that annoying archive hack).
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Andres Salomon [Fri, 19 Jun 2009 15:44:04 +0000 (11:44 -0400)]
mkchroot: drop the logging function
It makes more sense to log the entire thing (mkchroot + mkext3, for example);
plus, for some reason the trap function is causing the script to die. I'm not
sure why that is, but the effort to debug it isn't worth it for me.
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Andres Salomon [Tue, 2 Jun 2009 23:52:15 +0000 (19:52 -0400)]
installer: add actual guts..
This just does a simple dd to copy the entire drive, partition tables and all.
Obviously, this means if you're installing from a 1GB image onto a 60GB drive,
the drive will appear as only a 1GB drive until the tables/filesystem have
been resized. This is something we can tweak later..
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Andres Salomon [Thu, 28 May 2009 23:22:04 +0000 (19:22 -0400)]
mkchroot.sh: break out non-olpc stuff
This changes the way image flavors are done; it adds a configs/ directory
that allows overriding of misc hooks. This allows a lot more flexibility.
The package lists are now in configs/ as well (ie, gnome.packages ->
configs/debxo-gnome/packages).
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Erik Garrison [Thu, 12 Feb 2009 18:55:51 +0000 (13:55 -0500)]
whitespace in OFW updater script
While producing
http://wiki.laptop.org/go/User:Erik_Garrison/Image_Digestor I discovered
that the OFW updater script produced by the xodist tools had trailing
whitespace after the lines.
I rectified this by applying the attached patch to the line in question.
After application I verified that the output of the bios-crypto 'hashfs'
C script is byte-for-byte identical when run over the same input (in
this case the os767.img).
Signed-off-by: Andres Salomon <dilinger@debian.org>
Erik Garrison [Tue, 18 Nov 2008 05:59:18 +0000 (00:59 -0500)]
initchroot: use tee to log to $ROOTDIR.log
Make a named pipe (which we clean up on exit or script death), set our
stdout/stderr to it, and pipe it tee so we can see what's happening and
log at the same time.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Andres Salomon [Mon, 17 Nov 2008 18:49:33 +0000 (13:49 -0500)]
base.packages: add ttf-liberation
Ensure ttf-liberation gets installed; programs like abiword look severely
broken without this (see #495927). It should probably be installed for
all desktops, so it's going into base (unless it blows up the size).
Signed-off-by: Andres Salomon <dilinger@debian.org>
Andres Salomon [Sat, 8 Nov 2008 20:23:19 +0000 (15:23 -0500)]
gconf: have gksu default to sudo mode
The admin functions in gnome uses gksu to get root. That's not useful,
as we don't have a root password; instead, default to sudo mode (which means
sudo settings will be honored.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Andres Salomon [Tue, 28 Oct 2008 04:56:24 +0000 (00:56 -0400)]
initchroot: change up the mirror handling
Rather than specifying fragments of sources.list on the command line,
just specify the whole thing. --apt-sources allows you to specify the
/etc/apt/sources.list that will be shipped, and --local-apt-mirror
allows you to specify a local mirror to use (ie, if approx is being
used) when building the chroot.
--distribution, --mirror, and --othermirror have been dropped.
Signed-off-by: Andres Salomon <dilinger@debian.org>