-
-
Save opticyclic/df13b7e28fd4aed8d34cbe10aa14c2f4 to your computer and use it in GitHub Desktop.
Ubuntu Mini Remix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Notes for running this in a LiveCD in VirtualBox | |
#15.10 (Wily) is now EOL so you need to update /etc/apt/sources.list | |
#Each line should be http://old-releases.ubuntu.com/ubuntu | |
#uck is in the universe repo so you need to edit /etc/apt/sources.list and suffix universe | |
sudo sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list | |
sudo sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list | |
sudo sed -i 's/restricted/restricted universe/g' /etc/apt/sources.list | |
sudo apt-get update | |
# user: ubuntu pass: just hit ENTER | |
#live-build and coreutils are installed as dependecies already | |
apt-get install vim ubuntu-defaults-builder uck syslinux-utils | |
#Create the config package ubuntu-defaults-umr_0.1_all.deb | |
ubuntu-defaults-template ubuntu-defaults-umr | |
cd ubuntu-defaults-umr | |
dpkg-buildpackage | |
cd .. | |
#This variable refers to /usr/share/livecd-rootfs/live-build/auto/config | |
#It determines which packages are installed by ubuntu-defaults-image | |
export PROJECT=base | |
#Now create the image (we use --mirror as this is an old build and not avaiable in the default repo) | |
ubuntu-defaults-image --mirror http://old-releases.ubuntu.com/ubuntu --security-mirror http://old-releases.ubuntu.com/ubuntu --package ubuntu-defaults-umr_0.1_all.deb | |
mv binary.hybrid.iso ubuntu-mini-remix-15.10-amd64.iso | |
md5sum ubuntu-mini-remix-15.10-amd64.iso>ubuntu-mini-remix-15.10-amd64.iso.md5 | |
mv ubuntu-mini-remix-15.10-amd64.iso* 15.10/ | |
lb clean; rm -rf auto cache local | |
ubuntu-defaults-image --package ubuntu-defaults-umr_0.1_all.deb --arch i386 | |
mv binary.hybrid.iso ubuntu-mini-remix-15.10-i386.iso | |
md5sum ubuntu-mini-remix-15.10-i386.iso>ubuntu-mini-remix-15.10-i386.iso.md5 | |
mv ubuntu-mini-remix-15.10-i386.iso* 15.10/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment