index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-06-18 18:38:58 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-06-18 18:38:27 -0300 |
commit | 85d243ff5836fc17416c65dca8a9e8b4e9d915bc (patch) | |
tree | 78b3ec86fea064580c43966da866d46e31ab7007 /configs/syslinux-iso/overlay/etc | |
parent | 4a1bd4c7697bdc7aa89eca04009d868e4dd39cb4 (diff) |
-rw-r--r-- | configs/syslinux-iso/overlay/etc/arch-release | 1 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/archiso/functions | 20 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/fstab | 5 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/hosts | 8 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/inittab | 48 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/issue | 5 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/motd | 16 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/pacman.conf | 80 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/pam.d/su | 6 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/rc.conf | 36 | ||||
-rwxr-xr-x | configs/syslinux-iso/overlay/etc/rc.d/archiso | 57 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script | 25 | ||||
-rw-r--r-- | configs/syslinux-iso/overlay/etc/sudoers | 2 |
diff --git a/configs/syslinux-iso/overlay/etc/arch-release b/configs/syslinux-iso/overlay/etc/arch-release deleted file mode 100644 index 153f8b2..0000000 --- a/configs/syslinux-iso/overlay/etc/arch-release +++ /dev/null @@ -1 +0,0 @@ -Arch Linux Live ISO diff --git a/configs/syslinux-iso/overlay/etc/archiso/functions b/configs/syslinux-iso/overlay/etc/archiso/functions deleted file mode 100644 index 9fffdcb..0000000 --- a/configs/syslinux-iso/overlay/etc/archiso/functions +++ /dev/null @@ -1,20 +0,0 @@ -# vim: set ft=sh: - -# kernel_cmdline <param> <default> -# Looks for a parameter on the kernel's boot-time command line. -# -# returns: 0 if param was found. Also prints its value if it was a K=V param. -# 1 if it was not. Also prints value passed as <default> -# -kernel_cmdline () -{ - for param in $(/bin/cat /proc/cmdline); do - case "${param}" in - $1=*) echo "${param##*=}"; return 0 ;; - $1) return 0 ;; - *) continue ;; - esac - done - [ -n "${2}" ] && echo "${2}" - return 1 -} diff --git a/configs/syslinux-iso/overlay/etc/fstab b/configs/syslinux-iso/overlay/etc/fstab deleted file mode 100644 index 2b5f519..0000000 --- a/configs/syslinux-iso/overlay/etc/fstab +++ /dev/null @@ -1,5 +0,0 @@ -# -# /etc/fstab: static file system information -# -# <file system> <dir> <type> <options> <dump> <pass> -union / auto noauto 0 0 diff --git a/configs/syslinux-iso/overlay/etc/hosts b/configs/syslinux-iso/overlay/etc/hosts deleted file mode 100644 index b6f25e3..0000000 --- a/configs/syslinux-iso/overlay/etc/hosts +++ /dev/null @@ -1,8 +0,0 @@ -# -# /etc/hosts: static lookup table for host names -# - -#<ip-address> <hostname.domain.org> <hostname> -127.0.0.1 localhost.localdomain localhost archiso - -# End of file diff --git a/configs/syslinux-iso/overlay/etc/inittab b/configs/syslinux-iso/overlay/etc/inittab deleted file mode 100644 index 47ea845..0000000 --- a/configs/syslinux-iso/overlay/etc/inittab +++ /dev/null @@ -1,48 +0,0 @@ -# -# /etc/inittab -# - -# Runlevels: -# 0 Halt -# 1(S) Single-user -# 2 Not used -# 3 Multi-user -# 4 Not used -# 5 X11 -# 6 Reboot - -## Only one of the following two lines can be uncommented! -# Boot to console -id:3:initdefault: -# Boot to X11 -#id:5:initdefault: - -rc::sysinit:/etc/rc.sysinit -rs:S1:wait:/etc/rc.single -rm:2345:wait:/etc/rc.multi -rh:06:wait:/etc/rc.shutdown -su:S:wait:/sbin/sulogin -p - -# -8 options fixes umlauts problem on login -c1:2345:respawn:/sbin/agetty -n -l /usr/bin/autologin -8 38400 tty1 linux -c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux -c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux -c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux -c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux -c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux - -# Serial Virtual Console for KVM and others VMs -#s0:2345:respawn:/sbin/agetty -8 9600 ttyS0 linux - -# Hypervisor Virtual Console for Xen and KVM -#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux - -ca::ctrlaltdel:/sbin/shutdown -t3 -r now - -# Example lines for starting a login manager -x:5:respawn:/usr/bin/xdm -nodaemon -#x:5:respawn:/usr/sbin/gdm -nodaemon -#x:5:respawn:/usr/bin/kdm -nodaemon -#x:5:respawn:/usr/bin/slim >/dev/null 2>&1 - -# End of file diff --git a/configs/syslinux-iso/overlay/etc/issue b/configs/syslinux-iso/overlay/etc/issue deleted file mode 100644 index ce82e88..0000000 --- a/configs/syslinux-iso/overlay/etc/issue +++ /dev/null @@ -1,5 +0,0 @@ -[H[2J -Arch Linux Live ISO (\l) -\s-\r \m. -Default logins "root" and "arch" have no password. -To begin installation, login as root. diff --git a/configs/syslinux-iso/overlay/etc/motd b/configs/syslinux-iso/overlay/etc/motd deleted file mode 100644 index ddd9fbc..0000000 --- a/configs/syslinux-iso/overlay/etc/motd +++ /dev/null @@ -1,16 +0,0 @@ -************************************************************** -* To begin installation, run /arch/setup * -* You can find documentation at * -* /usr/share/aif/docs/official_installation_guide_en * -* * -* i18n: Use the 'km' utility to change your keyboard layout * -* and console font. * -* * -* If you encounter issues and want to report them or * -* seek help, run /arch/report-issues * -* * -* If you are looking to install Arch on something more * -* exotic, such as your kerosene-powered cheese grater, * -* please consult http://wiki.archlinux.org. * -* * -************************************************************** diff --git a/configs/syslinux-iso/overlay/etc/pacman.conf b/configs/syslinux-iso/overlay/etc/pacman.conf deleted file mode 100644 index 206ab23..0000000 --- a/configs/syslinux-iso/overlay/etc/pacman.conf +++ /dev/null @@ -1,80 +0,0 @@ -# -# /etc/pacman.conf -# -# See the pacman.conf(5) manpage for option and repository directives - -# -# GENERAL OPTIONS -# -[options] -# The following paths are commented out with their default values listed. -# If you wish to use different paths, uncomment and update the paths. -#RootDir = / -#DBPath = /var/lib/pacman/ -#CacheDir = /var/cache/pacman/pkg/ -#LogFile = /var/log/pacman.log -HoldPkg = pacman glibc -# If upgrades are available for these packages they will be asked for first -SyncFirst = pacman -#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u -#XferCommand = /usr/bin/curl -C - -f %u > %o -#CleanMethod = KeepInstalled -Architecture = auto - -# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup -#IgnorePkg = -#IgnoreGroup = - -#NoUpgrade = -#NoExtract = - -# Misc options (all disabled by default) -#UseSyslog -#ShowSize -#UseDelta -#TotalDownload -#CheckSpace - -# -# REPOSITORIES -# - can be defined here or included from another file -# - pacman will search repositories in the order defined here -# - local/custom mirrors can be added here or in separate files -# - repositories listed first will take precedence when packages -# have identical names, regardless of version number -# - URLs will have $repo replaced by the name of the current repo -# - URLs will have $arch replaced by the name of the architecture -# -# Repository entries are of the format: -# [repo-name] -# Server = ServerName -# Include = IncludePath -# -# The header [repo-name] is crucial - it must be present and -# uncommented to enable the repo. -# - -# The testing repositories are disabled by default. To enable, uncomment the -# repo name header and Include lines. You can add preferred servers immediately -# after the header, and they will be used before the default mirrors. - -#[testing] -#Include = /etc/pacman.d/mirrorlist - -[core] -Include = /etc/pacman.d/mirrorlist - -[extra] -Include = /etc/pacman.d/mirrorlist - -#[community-testing] -#Include = /etc/pacman.d/mirrorlist - -[community] -Include = /etc/pacman.d/mirrorlist - -# An example of a custom package repository. See the pacman manpage for -# tips on creating your own repositories. -#[custom] -#Server = file:///home/custompkgs - diff --git a/configs/syslinux-iso/overlay/etc/pam.d/su b/configs/syslinux-iso/overlay/etc/pam.d/su deleted file mode 100644 index a291042..0000000 --- a/configs/syslinux-iso/overlay/etc/pam.d/su +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth sufficient pam_wheel.so trust use_uid -auth required pam_unix.so -account required pam_unix.so -session required pam_unix.so diff --git a/configs/syslinux-iso/overlay/etc/rc.conf b/configs/syslinux-iso/overlay/etc/rc.conf deleted file mode 100644 index aff67e9..0000000 --- a/configs/syslinux-iso/overlay/etc/rc.conf +++ /dev/null @@ -1,36 +0,0 @@ -# -# /etc/rc.conf - Main Configuration for Arch Linux - -. /etc/archiso/functions - -LOCALE_DEFAULT="en_US.UTF-8" -DAEMON_LOCALE_DEFAULT="no" -CLOCK_DEFAULT="UTC" -TIMEZONE_DEFAULT="Canada/Pacific" -KEYMAP_DEFAULT="us" -CONSOLEFONT_DEFAULT= -CONSOLEMAP_DEFAULT= -USECOLOR_DEFAULT="yes" -VERBOSE_DEFAULT="3" - -LOCALE="$(kernel_cmdline locale ${LOCALE_DEFAULT})" -DAEMON_LOCALE="$(kernel_cmdline daemon_locale ${DAEMON_LOCALE_DEFAULT})" -HARDWARECLOCK="$(kernel_cmdline clock ${CLOCK_DEFAULT})" -TIMEZONE="$(kernel_cmdline timezone ${TIMEZONE_DEFAULT})" -KEYMAP="$(kernel_cmdline keymap ${KEYMAP_DEFAULT})" -CONSOLEFONT="$(kernel_cmdline consolefont ${CONSOLEFONT_DEFAULT})" -CONSOLEMAP="$(kernel_cmdline consolemap ${CONSOLEMAP_DEFAULT})" -USECOLOR="$(kernel_cmdline usecolor ${USECOLOR_DEFAULT})" -VERBOSE="$(kernel_cmdline verbose ${VERBOSE_DEFAULT})" - -MOD_AUTOLOAD="yes" -MODULES=() - -UDEV_TIMEOUT=30 -USEDMRAID="no" -USEBTRFS="no" -USELVM="no" - -HOSTNAME="archiso" - -DAEMONS=(hwclock syslog-ng network archiso) diff --git a/configs/syslinux-iso/overlay/etc/rc.d/archiso b/configs/syslinux-iso/overlay/etc/rc.d/archiso deleted file mode 100755 index 7f9239d..0000000 --- a/configs/syslinux-iso/overlay/etc/rc.d/archiso +++ /dev/null @@ -1,57 +0,0 @@ -# vim: set ft=sh: -. /etc/rc.conf -. /etc/rc.d/functions - -do_makeuser () -{ - stat_busy "Making the default user arch" - addgroups="audio,disk,optical,wheel" - useradd -m -p "" -g users -G $addgroups arch - stat_done -} - -do_locale_gen () -{ - stat_busy "Generating locales..." - sed -i "s/#\(${LOCALE/[@.]*}\)/\1/" /etc/locale.gen - /usr/sbin/locale-gen > /dev/null - stat_done -} - -# GIT does not manage perms others thans 755 and 644, so fix here. -do_fix_perms () -{ - stat_busy "Fixing file permissions..." - chmod 440 /etc/sudoers - stat_done -} - -# If an alternate console was specified on the kernel command line, -# start agetty on it too. -do_special_console() -{ - cmdline_console="$(kernel_cmdline console)" - [ $? -ne 0 ] && return - - dev="${cmdline_console%%,*}" - args="${cmdline_console##*,}" - baud="${args%%[neo]*}" && baud="${baud:-"9600"}" - [ "x${args}" != "x${args%%r}" ] && rts="-h" - - - stat_busy "Starting agetty on console: ${cmdline_console}" - echo "${dev}" >> /etc/securetty - echo "z0:2345:respawn:/sbin/agetty ${rts} ${baud} ${dev} linux" >> /etc/inittab - /sbin/telinit q - stat_done -} - -case "$1" in - start) - do_locale_gen - do_makeuser - do_fix_perms - do_special_console - ;; -esac -exit 0 diff --git a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script b/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script deleted file mode 100644 index edb8ea3..0000000 --- a/configs/syslinux-iso/overlay/etc/rc.d/functions.d/automated_script +++ /dev/null @@ -1,25 +0,0 @@ -. /etc/archiso/functions - -automated_script () -{ - script="$(kernel_cmdline script)" - if [[ -n "$script" ]]; then - stat_busy "Configuring $script" - if [[ "$script" =~ ^http:// || "$script" =~ ^ftp:// ]]; then - wget "$script" -q -O /tmp/startup_script >/dev/null - rt=$? - else - cp "$script" /tmp/startup_script - rt=$? - fi - if [ $rt -eq 0 ]; then - chmod +x /tmp/startup_script - echo -e '\nif [ $(tty) = "/dev/tty1" ]; then\n /tmp/startup_script\nfi\n' >> /root/.bash_profile - stat_done - else - stat_fail - fi - fi -} - -add_hook multi_end automated_script diff --git a/configs/syslinux-iso/overlay/etc/sudoers b/configs/syslinux-iso/overlay/etc/sudoers deleted file mode 100644 index 67b20ba..0000000 --- a/configs/syslinux-iso/overlay/etc/sudoers +++ /dev/null @@ -1,2 +0,0 @@ -root ALL=(ALL) ALL -%wheel ALL=(ALL) NOPASSWD: ALL |