Skip to content

Instantly share code, notes, and snippets.

@kjmkznr
Created June 6, 2014 04:43
Show Gist options
  • Save kjmkznr/93379267c1f6cb2e59b5 to your computer and use it in GitHub Desktop.
Save kjmkznr/93379267c1f6cb2e59b5 to your computer and use it in GitHub Desktop.
metro: target/gentoo/livecd.spec
[collect ./source/stage3.spec]
[collect ./target/stage4.spec]
[collect ./steps/kernel.spec]
[collect ./steps/capture/livecd.spec]
[section stage4]
target/name: livecd
[section steps]
chroot/run: [
$[[steps/kernel/build]]
$[[steps/kernel/clean]]
echo 'hostname=livecd' > /etc/conf.d/hostname
sed -i -e 's/^c1:.*/c1:12345:respawn:\/sbin\/agetty -a root 38400 tty1 linux/' /etc/inittab
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment