aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fix NBD boot without copy-to-ramChristian Hesse2016-05-241-4/+7
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* [configs/releng] Fix efitools path #2Gerardo Exequiel Pozzi2016-05-151-4/+4
| | | | Thanks Daniel Hillenbrand.
* prepare releaseGerardo Exequiel Pozzi2016-05-141-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Oops, fix efitools pathGerardo Exequiel Pozzi2016-05-141-4/+4
| | | | | | Thanks Philip Müller. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] prebootloader -> efitoolsGerardo Exequiel Pozzi2016-05-121-5/+5
| | | | Should be fixed FS#49314 first
* update to match upstream binary name mkfs.fatChristian Hesse2016-05-123-4/+4
| | | | | | Starting with dosfstools 4.0-1 the mkfs executable is called 'mkfs.fat'. Signed-off-by: Christian Hesse <mail@eworm.de>
* [archiso] Set net iface down if copytoram=y (default)Gerardo Exequiel Pozzi2016-03-181-1/+2
| | | | | | | | This should fix FS#36749 Also flush address on specified device (default) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Add some SCSI toolsGerardo Exequiel Pozzi2016-03-151-0/+3
| | | | | | Requested at FS#48591 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* prepare releaseGerardo Exequiel Pozzi2016-03-021-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Increase EFI image size for El Torito boot methodGerardo Exequiel Pozzi2016-03-011-1/+1
| | | | | | | | | | | | Current build leaves ~800K free of 31M in the FAT filesystem, adding 9M. Going beyond 65535 sectors of 512-byte is a bit special, but works for EFI. Image size is reported a zero in boot catalog, but xorriso does a good job, and writes right value in hybrid-partition. Tested booting in qemu in both modes (cd-rom and hybrid) and works fine. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* Fix non-signed buildsGerardo Exequiel Pozzi2016-03-012-1/+4
| | | | FS#48382
* prepare releaseGerardo Exequiel Pozzi2016-02-281-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* Optionally sign the squashfs files with gpg and add the gpg key to the initramfsThomas Bächler2016-02-281-3/+12
| | | | | | | | | A new option -g <keyid> is added to build.sh set the key id. If it is set, the squashfs files will be signed by gpg and the gpg key will be added to archiso.img. In order to use this option, a gpg agent must be running. Since build.sh is executed as root, it may be necessary to set the GNUPGHOME environment variable, for example $ su -c "GNUPGHOME=/home/youruser/.gnupg /path/to/build.sh -g yourkeyid"
* Optionally sign the squashfs files with gpgThomas Bächler2016-02-281-1/+12
| | | | | A new option -g <keyid> is added to set the key id. The squashfs files are only signed if this option is set.
* Add the verify=y option to verify the squashfs signature with gpgThomas Bächler2016-02-283-0/+28
|
* Add gpg to the image and optionally create a keyringThomas Bächler2016-02-281-0/+5
| | | | | If the ARCHISO_GNUPG_FD environment variable is set, its contents will be interpreted as an open file descriptor and its contents will be used to create a keyring in the initramfs in /gpg.
* fix boot parameters for mount optionsChristian Hesse2016-02-043-10/+11
| | | | | Fixes: 03c296cb4f031148f657b8924460a30c5c9dfecc Signed-off-by: Christian Hesse <mail@eworm.de>
* add boot params archisoflags= and cow_flags= for mount optionsChristian Hesse2015-12-132-2/+8
| | | | | | | | | | | Having files on btrfs subvolumes requires to give mount options. Add boot params archisoflags= and cow_flags= for this purpose. Boot parameters could look like this: ... archisodevice=/dev/sdaX archisoflags=subvolume=isos cow_device=/dev/sdaX cow_flags=subvolume=persist ... Signed-off-by: Christian Hesse <mail@eworm.de>
* prepare releaseGerardo Exequiel Pozzi2015-09-281-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] mkarchiso: Switch to overlayfs by defaultGerardo Exequiel Pozzi2015-09-281-1/+1
| | | | | | If old behaviour is needed use "... -s sfs prepare". Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* cleaner boot from loopmounted iso fileAdam Purkrt2015-09-132-3/+5
| | | | | | | | | Currently, when booting loopmounted iso file, it is necessary to specify not only img_dev and img_loop (which should be sufficient), but also archisolabel or archisodevice. With this patch, archisodevice is directly populated with the correct loop device, and it is not necessary to specify the label when booting from loopmounted iso, which makes for leaner and cleaner grub.cfg.
* [configs/releng] Fix (again) sshd root loginGerardo Exequiel Pozzi2015-09-111-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Ignore Lid/Sus/Hib switch/keys by logindGerardo Exequiel Pozzi2015-08-111-0/+4
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* prepare releaseGerardo Exequiel Pozzi2015-07-301-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Fix EFI shells URLGerardo Exequiel Pozzi2015-07-201-2/+2
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Update EFI Shells URLGerardo Exequiel Pozzi2015-07-181-4/+4
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Set old behavior of sshd PermitRootLogin -> yesGerardo Exequiel Pozzi2015-07-091-0/+1
| | | | | | Requested at FS#45563 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] refind-efi is not used for ISO build, move to packagesGerardo Exequiel Pozzi2015-06-242-1/+2
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Move on gummiboot -> systemd-bootGerardo Exequiel Pozzi2015-06-241-3/+3
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* flush ip addresses after copy to RAMChristian Hesse2015-06-241-1/+3
| | | | | | | | | | | | | We received an IP address from DHCP server and configure it statically. This is required if we continue to use network connectivity to access the root device (for example via NBD or NFS). The lease is not updated, though. This can cause trouble in networks with low lease times. So let's flush the addresses if root filesystem has been copied to RAM. A dhcp client in main system can handle the network connectivity then. Signed-off-by: Christian Hesse <mail@eworm.de>
* limit access to cow directoryChristian Hesse2015-05-291-1/+1
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* launch interactive shell if ipconfig failsChristian Hesse2015-05-291-1/+6
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* explicitly detach loop device on umount and silent losetup errorChristian Hesse2015-05-292-2/+2
| | | | | | | | | | | Umount detaches the loop device automatically, but let's make it explicit to be sure. Additionally losetup gives: losetup: /dev/loop0: detach failed: No such device or address This is kind of expected, let's silent the error message. Signed-off-by: Christian Hesse <mail@eworm.de>
* prepare releaseGerardo Exequiel Pozzi2015-04-241-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* explicitly detach loop device on umountChristian Hesse2015-04-212-2/+2
| | | | | | | | | I see cases where a stale loop device stays around and fills up my partition as image file is still in use and does not get unlinked. Explicitly detach loop device on umount to fix that. Signed-off-by: Christian Hesse <mail@eworm.de>
* [configs/releng] Remove unused 'arch' userGerardo Exequiel Pozzi2015-04-193-12/+0
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Fix pacman.conf location when non-default work_dir is usedGerardo Exequiel Pozzi2015-04-171-8/+7
| | | | | | Fix FS#44620, reported by Lukas B. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Add vim-minimal to live-enviromentGerardo Exequiel Pozzi2015-04-161-0/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Rename cowfile_size to cow_spacesize=Gerardo Exequiel Pozzi2015-01-272-11/+13
| | | | | | | The name is more relevant since the usage is shared for both dm-snapshot and overlayfs. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Add optional OverlayFS supportGerardo Exequiel Pozzi2015-01-273-6/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first attemp to test overlayfs in archiso. The current dm-snapshot mode is keep and is enabled by default, while the new mode is enabled via "-s sfs" to mkarchiso. No new boot parameters are added, since archiso hooks detects if the .sfs file is for dm-snapshot (airootfs.img inside) or for overlayfs. Persistence is supported in overlayfs mode using the same options (cowlabel or cowdevice), but warning while in dm-snapshot mode, only one file is used (airootfs.cow), in overlayfs mode internal files for workdir/ and upperdir/ are allocated, so you can not use VFAT or NTFS. To test this, you need to enable [testing] in pacman.conf from releng profile and edit build.sh then add "-s sfs" in make_prepare() Look at: setarch ${arch} mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare Replace with: setarch ${arch} mkarchiso ${verbose} -w "${work_dir}" -s sfs -D "${install_dir}" prepare The build requires just half of space that the build for dm-snapshot, since there is no ext4 img ;) Just to remember: there is no space gain in .sfs (just about 2M) There is at least one thing during boot with machine-id service: Dec 24 03:31:39 archiso systemd-machine-id-commit[183]: Failed to unmount transient /etc/machine-id file in our private namespace: Invalid argument Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* add documentation for cow_chunksize=Christian Hesse2015-01-021-0/+3
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* allow to change dm snapshot chunksizeChristian Hesse2015-01-021-1/+2
| | | | | | | | | Copying big amount of data results in bad performance as data is written in chunks of 4kiB (8 * 512 bytes). The default is not changed but can be overwritten. Signed-off-by: Christian Hesse <mail@eworm.de>
* use consistent syntax for boot parameter processingChristian Hesse2015-01-021-3/+1
| | | | Signed-off-by: Christian Hesse <mail@eworm.de>
* [configs/releng] Always install needed pkgs from build.shGerardo Exequiel Pozzi2014-12-213-7/+11
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Merge cowspace_size= option in cowfile_size=Gerardo Exequiel Pozzi2014-12-132-9/+3
| | | | | | Since now cowspace_size == cowfile_size (only one file inside) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* prepare releaseGerardo Exequiel Pozzi2014-10-311-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/releng] Always load intel-ucode in early boot stageGerardo Exequiel Pozzi2014-10-317-8/+14
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [configs/*] Install archiso initcpio files in /etc/initcpioGerardo Exequiel Pozzi2014-10-292-6/+11
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Change cowfile_size= behaviorGerardo Exequiel Pozzi2014-10-133-21/+13
| | | | | | Move from percent to explicit size and set a default of 256M (sparse) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* prepare releaseThomas Bächler2014-09-021-1/+1
| | | | Signed-off-by: Thomas Bächler <thomas@archlinux.org>