Commit 345a927f authored by amnesia's avatar amnesia
Browse files

initial source tree import

/home/amnesia is missing, as no clean way to include it is implemented yet.
parents
/*.img
/*.iso
/*.list
/*.packages
/binary
/cache
/chroot/
/config/binary
/config/bootstrap
/config/chroot
/config/common
/config/source
/.stage
/source
config/chroot_local-includes/usr/share/doc/amnesia/Changelog
\ No newline at end of file
config/chroot_local-includes/usr/share/doc/amnesia/TODO
\ No newline at end of file
# -*- mode: sh; -*-
# Configuration file for the Amnesia live system
#
# You'd better never directly edit this file: rather put your custom
# variable assignments in a new file called 'amnesia.local', in the
# same directory as this one. The values found in the '.local' file
# will override the ones from this one.
#
# These configuration files are actually shell scripts, and are
# sourced by various other scripts.
# Supported: gnome|xfce
# Default: gnome
AMNESIA_BASE="gnome"
# Images types to build, as a space-separated list.
# Every element of this list must be a valid argument for "lh_config -b".
# Only iso, usb-hdd and tar are currently supported.
AMNESIA_IMAGES="iso"
# Base for the string that will be passed to "lh_config --bootappend-live"
AMNESIA_APPEND="quiet splash vga=791 live-media=removable live-media-timeout=15 noprompt"
# Refresh the live user's $HOME directory by copying the build system's
# /home/amnesia. See also AMNESIA_HOME_EXCLUDES.
# Supported: yes|no
# Default: no
AMNESIA_REFRESH_HOME="no"
# Patterns to exclude when refreshing /home/amnesia
AMNESIA_HOME_EXCLUDES="/home/amnesia/.bash_history \
/home/amnesia/.dbus/session-bus/* \
/home/amnesia/.gconf/desktop/gnome/peripherals/keyboard/host-* \
/home/amnesia/.kde/cache-* \
/home/amnesia/.kde/socket-* \
/home/amnesia/.kde/tmp-* \
/home/amnesia/.mozilla/firefox/*/bookmarkbackups/* \
/home/amnesia/.mozilla/firefox/*/urlclassifier3.sqlite \
/home/amnesia/.nautilus/metafiles/ \
/home/amnesia/.nautilus/saved-session-* \
/home/amnesia/.xsession-errors"
### You should not have to change anything bellow this line ####################
# Compute the current Amnesia's version once for all
AMNESIA_TODAY="`date '+%Y%m%d'`"
# -*- mode: sh; -*-
#AMNESIA_IMAGES="iso tar usb-hdd"
AMNESIA_IMAGES="tar"
APT::Default-Release "stable";
Package: firmware-linux
Pin: release a=lenny-backports
Pin-Priority: 999
Package: kvkbd
Pin: release a=lenny-backports
Pin-Priority: 999
Package: *
Pin: release a=stable
Pin-Priority: 900
Package: *
Pin: release a=lenny-backports
Pin-Priority: 200
Package: *
Pin: release o=Debian
Pin-Priority: -10
#! /bin/sh
# Change the root password to "amnesia"
echo "I: update password"
echo "root:amnesia" | chpasswd
# Change the autogenerated user password to "amnesia"
plain_password="amnesia"
password=$(echo "${plain_password}" | mkpasswd -s)
sed -i -e 's/\(user_crypted=\)\(.*\)\( #.*\)/\1\"'${password}'\"\3/' /usr/share/initramfs-tools/scripts/live-bottom/10adduser
update-initramfs -tu -kall
#! /bin/sh
echo "
iface lo inet loopback" >>/etc/network/interfaces
#!/bin/sh
# We don't want to swap to the local machine
rm -f /usr/share/initramfs-tools/scripts/live-bottom/13swap
#!/bin/sh
splashy_config --set-theme moreblue-orbit
update-initramfs -u -k all
#!/bin/sh
apt-get remove --yes --purge epiphany-browser epiphany-browser-data epiphany-extensions epiphany-gecko
\ No newline at end of file
#!/bin/sh
chown -R 1000:1000 /home/amnesia
#!/bin/sh
# Nota bene: if the custom /etc/resolv.conf file was in
# chroot_local-includes, it would be installed inside the chroot
# before our chroot_local-hooks run. Some of these scripts, needing
# a working networking setup, would then awfully break.
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
# Setting static variables
DESCRIPTION="$(Echo 'setup custom /etc/resolv.conf')"
HELP=""
USAGE="${PROGRAM}"
# Reading configuration files
Read_conffiles config/all config/common config/chroot
Set_defaults
Echo_message "Configuring file /etc/resolv.conf"
echo 'nameserver 127.0.0.1' > /etc/resolv.conf
# make sure lh_chroot_resolv will not overwrite our nice,
# custom /etc/resolv.conf with a random .orig one
echo 'nameserver 127.0.0.1' > /etc/resolv.conf.orig
Package: firmware-linux
Pin: release a=lenny-backports
Pin-Priority: 999
Package: kvkbd
Pin: release a=lenny-backports
Pin-Priority: 999
Package: *
Pin: release a=stable
Pin-Priority: 900
Package: *
Pin: release a=lenny-backports
Pin-Priority: 200
Package: *
Pin: release o=Debian
Pin-Priority: -10
# do we start pdnsd ?
START_DAEMON=yes
# auto-mode, overrides /etc/pdsnd.conf if set [see /usr/share/pdnsd/]
AUTO_MODE=
# optional CLI options to pass to pdnsd(8)
START_OPTIONS=
# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name "titanic";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes;
supersede domain-name-servers 127.0.0.1;
supersede domain-name "localdomain";
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
http_proxy=http://localhost:8118
HTTP_PROXY=http://localhost:8118
SOCKS_SERVER=localhost:9050
SOCKS5_SERVER=localhost:9050
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment