Main Page
From SabLink Wiki
Revision as of 22:01, 16 March 2012 by Mario Fetka (Talk | contribs)
Contents |
vserver mit rsync on gentoo
- RSYNC_RSH=ssh vserver sablink-armv5tel build --context 1253 --hostname sablink-armv5tel --interface eth0:192.168.10.25/24 --initstyle gentoo -m rsync -- -d gentoo --source [email protected]:/vservers/sablink-armv5tel
Qemu User for chroots
- add the go-virtualization overlay to your system ( add http://ftp.disconnected-by-peer.at/pub/overlay/geos_one-overlay.xml to the list of overlay in /etc/layman/layman.cfg)
- layman -f && layman -a go-virtualization
- echo "app-emulation/qemu-user static" > /etc/portage/packages.use
- now merge 'emerge -v app-emulation/qemu-user'
- now add and start the 'rc-update add qemu-user' to your system and start it 'etc/init.d/qemu-user' (this will add the proper binfmt_misc entries to your system
- then copy the qemu-user-* static bins to the chroot for the differnt arch 'cp /usr/bin/qemu-user-* /vservers/sablink-armv5tel/usr/bin/' (don't do ROOT=/vservers/sablink-armv5tel emerge -v qemu-user, entropy can't and should not handle this)
Installation
LS-PRO/LIVE
first update the LS-GL to the latest stock firmware For the use of Gentoo Genkernel the u-boot boot vars need to be extendet with real_root=/dev/sda2 and the Initrd size propertie can be removed ,15M can be droped this change won't break stock kernel images as the newest u-boot stock firmware dont require it.
Kernel
- create server centric config for all the boxes (http://git.sabayon.org/linux/kernel/sabayon.git/plain/sabayon/config/server-3.0-r1-x86.config)
- update the ls-chl ls-xhl ls-vl ls-tera ls-.... patches to 2.6.39 (3.x requires a rewrite to the new arm kernel architecture)
- write a eselect-nas module to dynamically switch between the installed/supported kernels (ln -sf /boot/kernel-3.1.4-buffalo_ls_pro_live.buffalo kernel.buffalo)
- ....
Gentoo
- select base use flags for the sabayon system (using sabayons selection makes no sense: x11, akonadi, ....)
- ....
Genlink
- change the micro-evtd ebuild to also build for terrastation (micro-evtd.pro micro-evtd.tera micro-evtd wrapper script)
- ....
dracut (drop genkernel)
- create a micro-evtd init module
- create dropbear module and set a inital password (mac address hash or ....)
- create a fixrtc module for the boxes without a clock (http://lists.debian.org/debian-arm/2010/10/msg00040.html)
Anaconda
- collect information for net install (my idea is to have a initrd that contains anaconda and detects the system and installs the propper kernel)
- the anaconde bootloader schould be extendet to also support u-boot (setenv ....)
- change the hd setup tool to have some hardcoded partition requrements (ls-pro/live ext3 with -I 128 inodesize)
- ....
Infrastucture
- search cortex A-9 board with sata connect (better for native compile)
- Hosting the build server at graz.funkfeuer.at
- ....