aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* releng: Add an empty machine-id in airootfsThomas Bächler2014-09-021-0/+0
| | | | | | | | This makes systemd generate a machine-id on early boot and prevents it from thinking we need any "first boot" setup. We really don't want systemd thinking that, since we carefully prepared our root file system. This also ensures every live environment has a unique machine id.
* prepare releaseGerardo Exequiel Pozzi2014-08-281-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Disable ext4 resize_inode on airootfs.Gerardo Exequiel Pozzi2014-08-221-1/+1
| | | | | | | | | | Remove unused feature, just to save space sizeof ext4 image (empty): 4.3M vs 403K (du airootfs.img) sizeof used space (empty): 48M vs 20K (df) Thanks Christian Hesse for initial tip. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Update READMEGerardo Exequiel Pozzi2014-08-121-3/+3
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* archiso_pxe_http: Fix location of airootfs.md5Lukas Fleischer2014-08-121-1/+1
| | | | | | | | | | | | Currently, when booting via HTTP, the airootfs.md5 file is downloaded to /run/archiso/bootmnt/arch/. However, the checksum file is later assumed to be located at "/run/archiso/bootmnt/arch/${arch}". Fix the _curl_get invocation and directly place the file in the right directory. Fixes a regression introduced in commit b3e1d31 ([archiso] Rework checksum function, 2014-06-28). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
* Reintroduce the possibility to force an architectureLukas Fleischer2014-08-082-1/+4
| | | | | | | | | | Among other things, 36459f3 ([archiso] Drop aitab support, 2014-06-28) removed the possibility to manually set a specific architecture by using kernel parameters. This, however, is useful, e.g. when installing Arch Linux on a device that reports itself as i586 but works fine with the i686 flavor. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
* [configs/releng] Fix /root modeGerardo Exequiel Pozzi2014-07-281-0/+1
| | | | | | Thanks Izumi Natsuka for reporting this. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* prepare releaseGerardo Exequiel Pozzi2014-07-261-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Remove workwaround for nls/vfatGerardo Exequiel Pozzi2014-07-261-1/+0
| | | | | | The proper fix in now in mkinitcpio-18 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
* [archiso] Rework checksum functionGerardo Exequiel Pozzi2014-06-285-30/+14
|
* [archiso] _chroot_init() remove "already runned" logicGerardo Exequiel Pozzi2014-06-281-7/+2
| | | | This is done better with run_once() in build.sh
* [archiso] command_install() remove "already executed" logicGerardo Exequiel Pozzi2014-06-281-8/+1
| | | | This is done better with run_once() in build.sh
* [archiso] Minor changeGerardo Exequiel Pozzi2014-06-281-3/+1
|
* [archiso] Remove _is_directory_changed()Gerardo Exequiel Pozzi2014-06-281-64/+32
| | | | This is a task done in some way by run_once() on build.sh
* [archiso] Rework _mount_fs() to _mount_airootfs() same for umountGerardo Exequiel Pozzi2014-06-281-30/+13
| | | | Also remove _show_space_usage() irrelevant now when fs size is fixed and big
* [archiso] Merge _mkfs() and _mksfs() in _mkairootfs()Gerardo Exequiel Pozzi2014-06-281-48/+21
|
* [archiso] rename airootfs.fs.sfs to airootfs.sfsGerardo Exequiel Pozzi2014-06-283-9/+9
| | | | | * Make it ISO9660 friendly (extra dot "." is replaced by "_") * Was used when support both .fs.sfs and .sfs
* [archiso] Drop aitab supportGerardo Exequiel Pozzi2014-06-289-148/+21
| | | | | | | Always create one filesystem of a fixed size (32G), format (ext4) and know name "airootfs". Simplify logic a lot.
* [archiso] mkarchiso: Add -c switch to specify squashfs compression type.Gerardo Exequiel Pozzi2014-06-281-7/+9
|
* [archiso] Always use a 32GiB filesystem size for airootfsGerardo Exequiel Pozzi2014-06-281-21/+3
| | | | | | There is no big overhead. Space usage in ext4-1G is ~0.4M while in ext4-32G is ~4M. Just use a big value to make all people happy.
* [archiso] mkarchiso: Only use ext4 as filesystem for airootfsGerardo Exequiel Pozzi2014-06-281-29/+6
|
* [archiso] Rename root-image to airootfsGerardo Exequiel Pozzi2014-06-2821-82/+82
| | | | | | Two purposes: * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20" * ISO9660 filename friendly: "-" is replaced with "_"
* prepare releaseGerardo Exequiel Pozzi2014-05-211-1/+1
| | | | Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* [archiso] Add nls_iso8859-1 to initramfs.Gerardo Exequiel Pozzi2014-05-211-0/+1
| | | | | | Fix FS#40217 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>