Commit Graph

603 Commits

Author SHA1 Message Date
Gerardo Exequiel Pozzi
b629c4a4ad [archiso] Always copytoram for NFS
Avoids problems on shutdown (and during normal usage if networks settings changed)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-25 15:14:51 -03:00
Gerardo Exequiel Pozzi
6fae221c28 [archiso] Always copytoram for NBD
Avoid issues on shutdown (and during normal usage if network settings changed)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-25 15:14:51 -03:00
Gerardo Exequiel Pozzi
0fdbf31341 [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
Gerardo Exequiel Pozzi
a76324ceb6 [configs/releng] Add usb_modeswitch and wvdial to live-env
Implements FS#31054

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-08 20:45:27 -03:00
Pierre Schmitz
30cd68dee5 sRemove README on uninstall 2012-08-03 22:39:06 +02:00
Pierre Schmitz
4a33b67542 Move Makefile to project root to avoid issues with git archive
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-08-03 22:36:22 +02:00
Pierre Schmitz
da15f859af Add .gitignore and .gitattributes
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-08-03 22:03:03 +02:00
Gerardo Exequiel Pozzi
ab7c443a4a [archiso] Replace rsync with cp
It does not make sense, since filesystem inside the imege is re-formated.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-01 20:16:45 -03:00
Florian Pritz
a2d2022ccf archiso_pxe_http: curl should follow redirects
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-08-01 20:16:45 -03:00
Gerardo Exequiel Pozzi
e2eca412cf [configs/releng] Add systemd to live-enviroment
To test it, just boot with init=/bin/systemd

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-01 20:16:45 -03:00
Pierre Schmitz
4ed9ec9182 Use zsh as default interactive shell
This installs zsh and sets it as default for root and the arch user.
grml-zsh-config is installed as a userfriendly default configuration.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-08-01 20:16:45 -03:00
Pierre Schmitz
c795707975 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
6491e409a9 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
Pierre Schmitz
281234509f Add dist function to Makefile
This dist function creates a tar archive of a tag.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-07-31 19:52:09 -03:00
Gerardo Exequiel Pozzi
d2394aa2b9 [configs/releng] Copy default config files from /etc/skel to /root
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-31 19:52:09 -03:00
Gerardo Exequiel Pozzi
e93e40d417 [configs/releng] Remove [core] ISO generation
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-31 19:52:09 -03:00
Gerardo Exequiel Pozzi
89ebc9ec16 [archiso] README update
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-25 21:09:01 -03:00
Gerardo Exequiel Pozzi
dd7d347d97 [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
49b3f35823 [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
Gerardo Exequiel Pozzi
36a2496fad [archiso] archiso_pxe_common: /lib -> /usr/lib
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-24 21:20:29 -03:00
Gerardo Exequiel Pozzi
ac2d67929b [archiso] Update Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-24 18:54:28 -03:00
Gerardo Exequiel Pozzi
f0707bbd23 [archiso] Update README
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-24 10:24:45 -03:00
Gerardo Exequiel Pozzi
f72d4048b4 [archiso] Fix README
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-23 11:51:00 -03:00
Gerardo Exequiel Pozzi
56c2e88913 [archiso] Remove testiso from Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-23 11:49:29 -03:00
Gerardo Exequiel Pozzi
8312642050 [archiso] Remove testiso script
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-22 20:29:18 -03:00
Gerardo Exequiel Pozzi
a1424446a1 [archiso] Add btrfs support as filesystem for *.fs.sfs
Implements FS#30378

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-20 17:31:20 -03:00
Gerardo Exequiel Pozzi
99810c2a2f [configs/releng] Add grub(2) to packages.*
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-19 14:47:05 -03:00
Gerardo Exequiel Pozzi
6af3585eb4 [configs/releng] Add version of pacman-key that allows unattended keyring initialization
This was made originally using directly pacman-key file,
convert it in a patch form, to be more easy to track it.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-18 16:55:51 -03:00
Gerardo Exequiel Pozzi
5ea02f68fe [archiso] archiso_shutdown: use run_cleanuphook()
Simplify build process, using the same method like in shutdown hook by mkinitcpio
we still need a custom shutdown script for archiso,
since "twisted" structure of block devices.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-17 02:25:18 -03:00
Thomas Bächler
bb84aa78ac Adjust for /lib/modules -> /usr/lib/modules move
Although everything should be fine now (due to the /lib -> /usr/lib symlink),
adjust everything to the proper path.

Edited (Gerardo): Also rename function name and image name to be consisten.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-16 23:08:35 -03:00
Pierre Schmitz
6327470e39 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
2cb8fe511c 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
3aa07404ad Add arch-install-scripts
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-16 22:59:29 -03:00
Pierre Schmitz
6896538a41 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
d7e790df23 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
dd368b5a81 Use the host's package cache
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-06-24 16:57:20 -03:00
Pierre Schmitz
344dd0064a Use a default pacman.conf to build releng images
This ensures we do not pick up any testing or third party repos from the host.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-06-24 16:57:08 -03:00
Pierre Schmitz
6c0770de06 Fix creation of [core] repository
* Download and add package signatures to the repository database
* Support any number of configured package caches

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-06-24 16:56:41 -03:00
Pierre Schmitz
e35e835e3c Use pci.ids from the root image instead of downloading it every time
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-06-24 16:53:49 -03:00
Pierre Schmitz
604d910642 Use mirror_status to rank mirrors
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-06-24 16:53:26 -03:00
Pierre Schmitz
64b5e16928 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
8e9c65fa5d [archiso] mkarchiso: improve info messages
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-05-29 23:48:24 -03:00
Gerardo Exequiel Pozzi
0b39407e68 [archiso] archiso_pxe_common: add copy_resolvconf= boot option 2012-05-29 23:48:15 -03:00
Gerardo Exequiel Pozzi
36e8d6322f [archiso] use new mkinitcpio API in hooks
Needs mkinitcpio >= 0.9.0

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-05-19 15:29:17 -03:00
Gerardo Exequiel Pozzi
c1ecc9b604 [archiso] archiso_pxe_nfs hook: /lib -> /usr/lib
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-05-03 00:18:06 -03:00
Gerardo Exequiel Pozzi
f844c7ed45 [archiso] Update install hook to new device-mapper udev rules location
device-mapper >= 2.02.95-2

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-26 22:08:34 -03:00
Gerardo Exequiel Pozzi
3092746bfe [archiso] README: add: alternative boot methods
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-25 00:55:27 -03:00
Gerardo Exequiel Pozzi
2d4701ab11 [archiso] README: add: Transfer ISO file to target medium
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-25 00:55:27 -03:00
Gerardo Exequiel Pozzi
c816a33d0e [archiso] Canonicalize path to dm-devices in used_block_devices
All devices listed at used_block_devices, now are canonicalized.

Fix FS#29538

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-19 12:06:07 -03:00
Gerardo Exequiel Pozzi
e14b4d6423 [archiso] README: update build instructions
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-17 19:37:44 -03:00