Tuesday, June 2, 2015

ubuntu-builder

Just some notes etc for ubuntu-builder
https://launchpad.net/ubuntu-builder

To get it to load with xephyr under ubuntu 15.04 I had to edit
/usr/share/ubuntu-builder/extras/desktop
and on line
41 and 42
change from:
DISPLAY=localhost:9
export DISPLAY=localhost:9

to:
DISPLAY=:9
export DISPLAY=:9

Now when you click desktop you should see your livecd desktop.

As you know the default user files are in
/home/ubuntu-builder/FileSystem/etc/skel/
its supposed to copy the files from the root user into that
folder some times it does not work. So add your files etc directly into that file or subfolder. 

as other have posted you will get errors with
libpam-systemd.See https://blog.tan-ce.com/chroot-ubuntu-14-04-on-android-nexus-10/

To solve this problem,create a dummy init.d script. Create a file at /home/ubuntu-builder/FileSystem/etc/init.d/systemd-logind with 0755 permissions. In this file, enter the following:

#!/bin/sh
exit 0

I had another error that was the same with modemmanager
so just cp /home/ubuntu-builder/FileSystem/etc/init.d/systemd-logind /home/ubuntu-builder/FileSystem/etc/init.d/modemmanager

And for when you update the kernel. These are examples substuit with the correct version info
copy /home/ubuntu-builder/FileSystem/boot/vmlinuz-3.13.0-32-generic
and /home/ubuntu-builder/FileSystem/boot/initrd.img-3.13.0-32-generic

to
/home/ubuntu-builder/
rename them vmlinuz.efi and make another copy and name it  vmlinuz (I never pick the correct name so I make another copy so I never get boot errors.. its usuless so if you know the correct name to use leave this step out)
and initrd.lz


Then after you click build copy them into
/home/ubuntu-builder/ISO/casper
Do this after you hit build and it deletes the old files
recopy them in


If your reading this I hope these tips help.

No comments:

Post a Comment