Commit Graph

42 Commits

Author SHA1 Message Date
Thomas Bächler
3428317205 Only launch dhcpcd for ethernet interfaces 2014-01-03 22:03:19 -03:00
Gerardo Exequiel Pozzi
9f78b87678 [configs/releng] explicit set 'Storage=volatile' for journald
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-09-21 16:53:45 -03:00
Thomas Bächler
a25e2a2875 releng: Allow specifying a mirror on the kernel command line.
The new mirror= option takes a mirror URL and creates a new mirrorlist.
When setting mirror=auto, the mirror is taken from archiso_http_srv in
order to keep using the mirror selected in the netboot menu.
2013-06-16 20:57:10 -03:00
Gerardo Exequiel Pozzi
b98f007ada [configs/releng] Update zsh path to match /etc/shells
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-06-04 21:33:52 -03:00
Gerardo Exequiel Pozzi
3e6e9b4de1 [configs/releng] Use a udev rule instead of dhcpcd.service
https://mailman.archlinux.org/pipermail/arch-releng/2013-May/003163.html

Thanks Dave & Thomas

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-05-28 13:21:52 -03:00
Gerardo Exequiel Pozzi
269b5cf014 [configs/releng] Use drop-in feature of systemd for getty autologin
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-05-26 19:09:55 -03:00
Gerardo Exequiel Pozzi
dbd39d1abb [configs/releng] Use dhcpcd service provided by the package.
Implements FS#34075.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-03-03 18:30:51 -03:00
Gerardo Exequiel Pozzi
308d3fdc4f [configs/releng] Rework make_customize_root_image()
Using a separate shell script to customize live-enviroment,
makes much more readable code.
Move all thing except:
* Need network access (name resolving).
* Need access to some file outside chroot.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-11-02 15:09:53 -03:00
Gerardo Exequiel Pozzi
a587f5b704 [configs/releng] Remove custom /etc/hosts
Leave the work to the [nss-myhostname] package that is now in {base}
and is configured by default in [filesystem] (/etc/nsswitch.conf).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-25 07:42:35 -03:00
Gerardo Exequiel Pozzi
1e1f27adb3 [configs/releng] /etc/vconsole.conf remove, redundant
systemd does not touch anymore FONT and KEYMAP by default.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Gerardo Exequiel Pozzi
7746cd1a89 [configs/releng] /etc/timezone is not used anymore
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00
Pierre Schmitz
ef44fd8db4 Use tmpfs for /etc/pacman.d/gnupg instead of a symlink to /run
This fixes FS#31815

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-06 00:24:24 +02:00
Pierre Schmitz
47bb720d8a Run dhcpcd on all devices
As we did with initscripts, run dhcpcd on all devices and not just eth0.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-05 11:32:28 +02:00
Gerardo Exequiel Pozzi
bc31bd7fda [configs/releng] Rework automated_script() from initscript hooks to /root/.zlogin
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
c7db1e719c [configs/releng] Remove files for sysvinit and initscripts
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
e31e395c5b [configs/releng] Add pacman-init.service
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-03 10:52:13 -03:00
Gerardo Exequiel Pozzi
77ef53a28b [configs/releng] Adjust automated_script for zsh
Fix FS#31022

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-08 20:45:50 -03:00
Pierre Schmitz
bf98501dbd Enable network by default
* add the network daemon to rc.conf
* configure dhcpd to background immediatly so we don't timeout if network is not up yet

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-08-01 20:16:44 -03:00
Pierre Schmitz
17af8d94f1 Adjust rc.conf for recent initscripts changes
* We use a rc.conf file loser to the upstream default.
* Use the recommend config files to setup hostname, locale, timezone and console

EDIT (Gerardo): Add empty FONT= and use ln -f for localtime

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-01 20:16:14 -03:00
Gerardo Exequiel Pozzi
e0d0110b5b [configs/releng] Add intentional black line
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-25 15:57:51 -03:00
Pierre Schmitz
db7df83061 [configs/releng] Add installation guide
Download and add the current installation guide as plain text.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-25 15:22:29 -03:00
Pierre Schmitz
a2772c292c Do not maintain our own copy of /etc/issue and /etc/arch-release
Adding branding here is not worth the effort. We should keep the archiso environment as vanilla as possible.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-16 23:00:17 -03:00
Thomas Bächler
7db7d39fe4 Fix autologin
The old autologin method doesn't work anymore with recent login from util-linux.
Utilize agetty -a instead.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-16 22:59:45 -03:00
Pierre Schmitz
a053b38014 Remove aif
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-16 22:59:06 -03:00
Pierre Schmitz
cf18ae6433 Initialize pacman keyring on bootup
This will allow users to install packages within the live environment.
We use the haveged daemon to increase entropy from CPU timings.

See http://www.issihosts.com/haveged/ for details.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-06-24 21:47:07 -03:00
Pierre Schmitz
9fa7703229 Set UTC as default timezone
UTC is a more reasonable default than Canada/Pacific

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-06-24 16:52:11 -03:00
Gerardo Exequiel Pozzi
d416475657 [configs/releng] Fix tabs in hosts
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-03-17 13:32:08 -03:00
Gerardo Exequiel Pozzi
6dff51517d [configs/releng] Remove local copy of resolv.conf
Nobody touches this file now (previously was mkarchroot)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-03-17 13:30:15 -03:00
Gerardo Exequiel Pozzi
68c35768a4 [configs/releng] Use installed locale.gen instead of local copy.
Now we can do this, since nobody touches this file before this step.
(previously by mkarchroot)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-03-17 13:27:37 -03:00
Gerardo Exequiel Pozzi
05ecca5d30 [configs/releng] Add /run/aif/ignore_block_devices
This is just a symlink to /run/archiso/used_block_devices

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-02-22 23:46:17 -03:00
Gerardo Exequiel Pozzi
8483de66d7 [archiso] Unify ->
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-10-12 14:40:19 -03:00
Gerardo Exequiel Pozzi
ba3a83897f [archiso] Integrate omit_kill_nbd_client logic in hook.
This makes archiso_pxe_nbd functionallity full-independient from
archiso profiles (configs/*).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-29 17:03:00 -03:00
Gerardo Exequiel Pozzi
12ad99bed3 [archiso] Change location of nbd_client.pid
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-28 04:07:04 -03:00
Gerardo Exequiel Pozzi
b17904fef0 [configs/releng] Replace rc.d/archiso with initscripts hooks.
In this way:
* Prepare locales requested by boot param mostly early possible.
* Setup special console at end of rc.sysinit

Remove unneded include from automated_script (already included by rc.conf)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-18 17:09:00 -03:00
Gerardo Exequiel Pozzi
9fd0e9d9be [configs/releng] Fixed and improved serial console support.
Current implementation fails if console=ttyS0 (without more options).

Tested with:
console=ttyS0
console=ttyS0,9600
console=ttyS0,38400
console=ttyS0,9600n8
console=ttyS0,38400n8r

Closing FS#16232

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 21:01:58 -03:00
Gerardo Exequiel Pozzi
658a486327 [configs/*] Remove custom fstab, not needed anymore.
re-mount / as rw does not fail since regular file /etc/mtab does not exist
at that stage.

/etc/mtab was removed from root-image in this commit:
93763a2d82

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-15 01:07:30 -03:00
Gerardo Exequiel Pozzi
9b790fcd9e [configs/releng] Make user "arch" at build time.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
ef2ae5e3bb [configs/releng] Re-generate locales only if needed.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
cbe9bd7456 [configs/releng] Add locale.gen and resolv.conf
mkarchroot overwrites these files.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
a9c5b76518 [configs/releng] Remove old option from rc.conf
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
280c5a2395 Avoid killing nbd-daemon on shutdown
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00
Gerardo Exequiel Pozzi
c22344d2ed [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit")
* Use device mapper + snapshot module, instead union layer filesystem.
  * A block-level approach vs vfs-level.
  * No more unofficial (Linux) things.
  * More memory is needed.
* Refactor mkarchiso.
* Refactor hooks/archiso.
* Fix install/archiso_pxe_nbd
  (due recent change in mkinitcpio-0.6.15 on checked_modules()/all_modules())
  [Thanks Dave for the improved workaround]
* New configs/releng to build official images.
  * Works with a Bash script instead of Makefile.
    (better control and easy to maintain)
* Remove configs/syslinux-iso.
* Remove archiso2dual script. Integrate functionality in configs/releng.
* New configs/baseline to build the most basic live medium or use as template.
* New README (draft). [Thanks Dieter for fixing english grammar]

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-06-18 18:38:27 -03:00