summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-13cleaner boot from loopmounted iso fileAdam Purkrt
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.
2015-09-11[configs/releng] Fix (again) sshd root loginGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-08-11[configs/releng] Ignore Lid/Sus/Hib switch/keys by logindGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-07-30prepare releasev22Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-07-20[configs/releng] Fix EFI shells URLGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-07-18[configs/releng] Update EFI Shells URLGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-07-09[configs/releng] Set old behavior of sshd PermitRootLogin -> yesGerardo Exequiel Pozzi
Requested at FS#45563 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-06-24[configs/releng] refind-efi is not used for ISO build, move to packagesGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-06-24[configs/releng] Move on gummiboot -> systemd-bootGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-06-24flush ip addresses after copy to RAMChristian Hesse
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>
2015-05-29limit access to cow directoryChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-05-29launch interactive shell if ipconfig failsChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-05-29explicitly detach loop device on umount and silent losetup errorChristian Hesse
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>
2015-04-24prepare releasev21Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-04-21explicitly detach loop device on umountChristian Hesse
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>
2015-04-19[configs/releng] Remove unused 'arch' userGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-04-17[configs/releng] Fix pacman.conf location when non-default work_dir is usedGerardo Exequiel Pozzi
Fix FS#44620, reported by Lukas B. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-04-16[configs/releng] Add vim-minimal to live-enviromentGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-01-27[archiso] Rename cowfile_size to cow_spacesize=Gerardo Exequiel Pozzi
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>
2015-01-27[archiso] Add optional OverlayFS supportGerardo Exequiel Pozzi
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>
2015-01-02add documentation for cow_chunksize=Christian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-01-02allow to change dm snapshot chunksizeChristian Hesse
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>
2015-01-02use consistent syntax for boot parameter processingChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2014-12-21[configs/releng] Always install needed pkgs from build.shGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-12-13[archiso] Merge cowspace_size= option in cowfile_size=Gerardo Exequiel Pozzi
Since now cowspace_size == cowfile_size (only one file inside) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-10-31prepare releasev20Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-10-31[configs/releng] Always load intel-ucode in early boot stageGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-10-29[configs/*] Install archiso initcpio files in /etc/initcpioGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-10-13[archiso] Change cowfile_size= behaviorGerardo Exequiel Pozzi
Move from percent to explicit size and set a default of 256M (sparse) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-09-02prepare releasev19Thomas Bächler
Signed-off-by: Thomas Bächler <thomas@archlinux.org>
2014-09-02releng: Add an empty machine-id in airootfsThomas Bächler
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.
2014-08-28prepare releasev18Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-08-22[archiso] Disable ext4 resize_inode on airootfs.Gerardo Exequiel Pozzi
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>
2014-08-12[archiso] Update READMEGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-08-12archiso_pxe_http: Fix location of airootfs.md5Lukas Fleischer
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>
2014-08-08Reintroduce the possibility to force an architectureLukas Fleischer
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>
2014-07-28[configs/releng] Fix /root modev17Gerardo Exequiel Pozzi
Thanks Izumi Natsuka for reporting this. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-07-26prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-07-26[archiso] Remove workwaround for nls/vfatGerardo Exequiel Pozzi
The proper fix in now in mkinitcpio-18 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-06-28[archiso] Rework checksum functionGerardo Exequiel Pozzi
2014-06-28[archiso] _chroot_init() remove "already runned" logicGerardo Exequiel Pozzi
This is done better with run_once() in build.sh
2014-06-28[archiso] command_install() remove "already executed" logicGerardo Exequiel Pozzi
This is done better with run_once() in build.sh
2014-06-28[archiso] Minor changeGerardo Exequiel Pozzi
2014-06-28[archiso] Remove _is_directory_changed()Gerardo Exequiel Pozzi
This is a task done in some way by run_once() on build.sh
2014-06-28[archiso] Rework _mount_fs() to _mount_airootfs() same for umountGerardo Exequiel Pozzi
Also remove _show_space_usage() irrelevant now when fs size is fixed and big
2014-06-28[archiso] Merge _mkfs() and _mksfs() in _mkairootfs()Gerardo Exequiel Pozzi
2014-06-28[archiso] rename airootfs.fs.sfs to airootfs.sfsGerardo Exequiel Pozzi
* Make it ISO9660 friendly (extra dot "." is replaced by "_") * Was used when support both .fs.sfs and .sfs
2014-06-28[archiso] Drop aitab supportGerardo Exequiel Pozzi
Always create one filesystem of a fixed size (32G), format (ext4) and know name "airootfs". Simplify logic a lot.
2014-06-28[archiso] mkarchiso: Add -c switch to specify squashfs compression type.Gerardo Exequiel Pozzi
2014-06-28[archiso] Always use a 32GiB filesystem size for airootfsGerardo Exequiel Pozzi
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.