This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Home
Build xPUD with mkxpud
This is a brief how-to on building xPUD with Ubuntu 9.10 (karmic koala).
Download Rootfs and Modules
$ wget http://download.xpud.org/devel/karmic-rootfs.tgz
$ mkdir karmic-xpud
$ sudo tar zxvf karmic-rootfs.tgz -C karmic-xpud/
Internet connection inside build system
$ sudo chroot karmic-xpud/rootfs/ mkdir -p /proc/net/dev/
$ sudo chroot karmic-xpud/rootfs/ dhclient
Upgrade and Setting
$ sudo cp /etc/hosts karmic-xpud/rootfs/etc/hosts
$ sudo chroot karmic-xpud/rootfs/ apt-get update
$ sudo chroot karmic-xpud/rootfs/ apt-get upgrade
Export mkxpud from Repository
$ sudo git clone git://github.com/penk/mkxpud.git karmic-xpud/rootfs/mkxpud
$ find karmic-xpud/rootfs/mkxpud -name .git* -exec sudo rm -rf {} \;
Build the xPUD Rootfs
$ sudo chroot karmic-xpud/rootfs/
$ cd mkxpud/
$ ./tools/mkxpud all
That’s it, the default cookbook will work. :-)
Bonus: Creating Image
if you’re looking for a way to combine the kernel and rootfs, download the linux-source, and edit .config to find this line:
CONFIG_INITRAMFS_SOURCE="/home/penk/snap-mkxpud/deploy/default/rootfs.cpio"
replace it with your absolute path pointing to the rootfs.cpio just created, then:
$ make bzImage
after compiling, the file will be put under
arch/x86/boot/bzImage.






