Skip to content

Instantly share code, notes, and snippets.

@AVGP
Created January 6, 2014 07:05
Show Gist options
  • Select an option

  • Save AVGP/8279266 to your computer and use it in GitHub Desktop.

Select an option

Save AVGP/8279266 to your computer and use it in GitHub Desktop.
Creating a debian image for the EEE pc
#!/bin/bash
mkdir leeenux
cd leeenux
lb config --packages "openssh-client acpid acpi cpufrequtils pm-utils eeepc-acpi-scripts git-core vim gcc g++ libstdc++6 wpasupplicant xserver-xorg xserver-xorg-input-synaptics xserver-xorg-video-intel xserver-xorg-video-fbdev libgl1-mesa-dri pciutils firmware-iwlwifi firmware-atheros linux-sound-base alsa-base alsa-utils xfce4 xfce4-terminal xfce4-mixer xinit wireless-tools dhcpcd locate x11-xserver-utils gajim chromium-browser openoffice.org luvcview vlc okular xtightvncviewer netbeans-ide" --hostname moon --binary-images usb-hdd --bootappend-live "acpi_osi=Linux nomodeset locales=de_DE.UTF-8 keyboard-layouts=de" --apt-recommends false --binary-indices false --language de --distribution squeeze --archive-areas "main contrib non-free"
echo "deb http://ftp.debian.org/debian/ squeeze main contrib non-free" >> config/chroot_sources/full.chroot
echo "deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free" >> config/chroot_sources/full.chroot
mkdir -p config/chroot_local-includes/etc/skel
echo "exec startxfce4" >> config/chroot_local-includes/etc/skel/.xinitrc
echo "nameserver 8.8.8.8" >> config/chroot_local-includes/etc/resolv.conf
#echo "/dev/sdb2 /home ext2 defaults,noatime,user_xattr 0 2" >> config/chroot_local-includes/etc/fstab
sudo lb build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment