Commit graph

597 commits

Author SHA1 Message Date
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
Gerardo Exequiel Pozzi
c82d309eb8 [archiso] README: add rsync as dep
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-14 23:40:11 -03:00
Gerardo Exequiel Pozzi
425e1ea5ef [configs/releng] Add efibootmgr to installed packages on live-enviroment.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-10 21:17:45 -03:00
Gerardo Exequiel Pozzi
6caa5bcb69 [configs/releng] Add UEFI boot support via Linux >= 3.3 EFI boot stub on x86_64
Makes an efiboot.img (FAT16) for "El Torito" (additional).
Under an EFI-system, implies that this .ISO works only if is used
as "CD-ROM/DVD-ROM" not in ISO-HYBRID-MBR mode.
If you want, an EFI-ready USB-key, just unpack this "<ISO>/EFI/efiboot.img" (FAT16) to
"<USB-key-FAT-formatted>/EFI" then copy "<ISO>/arch" and setup the filesystem label.

An aditional EFI shell is provided with an startup script for automatic booting
until EFI_STUB supports "linux.conf" to pass boot parms to kernel.
Anyway I think that is a good idea to keep this shell, so can customize boot parms,
or for doing other tasks on systems without an EFI-shell.

RFCv1: Initial efiboot.img build with vmlinuz.efi (Linux with EFI_STUB enabled)
       and archiso.img (initramfs).
RFCv2: Use an startup.nsh with EFI-Shell 2.0 (generated from build.sh) for automatic boot.
RFCv3: Use and older EFI-Shell 1.0 instead of 2.0, since not all UEFI-systems
       are compatible with 2.3+ specs.
RFCv4: The script "startup.nsh" improved by Keshav P R, using a for-loop
       (see notes below from original commit), now that has more than 1-line,
       I moved it to an independent file and is parsed by build.sh.

----
About startup.nsh:
Author: Keshav P R <the.ridikulus.rat@gmail.com>
Date:   Thu Apr 5 10:33:20 2012 +0530
    [configs/releng] Search in all existing UEFI FS mountpoints for archiso efistub kernel file

    There is no guarantee that the efistub kernel will always be in fs0:
    (similar to the case inside linux OS where the sda, sdb confusion exists,
    hence the need for UUIDs), especially when USB (instead os CD/ISO) is
    used for booting.

    Hence loop through all possible fs mountpoints (in UEFI) in startup.nsh
    and try to launch the first mountpoint that contains the archiso files.

    Cd's into the fs%m:\EFI\archiso directory also may remove future issues
    with efistub's linux.conf where the efistub might have problems
    identifying the directory from which the kernel was launched.

    Also add an helpful echo message showing the user the UEFI PATH to the
    archiso kernel file being launched by startup.nsh .

    Hopefully this should work in both CD and USB. Tested in Tianocore
    UDK/EDK2 DuetPkg X64 UEFI 2.3.1 firmware with EdkShellBinPkg's Shell.
----

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-10 21:01:12 -03:00
Gerardo Exequiel Pozzi
ee336f7d21 [configs/releng] Remove pkglist.repo-core.* from non core-dual images.
They are present by mistake.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-10 20:58:49 -03:00
Gerardo Exequiel Pozzi
08ebe04b00 [configs/releng] Generate list of packages.
* For installed packages on live-enviroment use mkarchiso pkglist command.
* For packages in [core] repo in core.iso, make a list of them during repo generation.
  It uses the same format like done by pkglist command: <repo>/<package>-<version>
  (anyway repo is always core in this case).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-09 23:37:27 -03:00
Gerardo Exequiel Pozzi
f12097b2c4 [archiso] mkarchiso: add new pkglist command.
This command makes a list of installed packages on root-image,
on <ISO>/$archisobasedir/pkglist.$arch.txt with the format
<repo>/<package>-<version>

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-04-09 17:41:12 -03:00