Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-29Remove cow file early for non-persistent systemsChristian Hesse
The kernel has an open file handle after setting up the mapping. We can remove it early to make sure it is gone on shutdown. This helps to keep the cow_device clean for non-persistent systems where cow_directory contains a version specific string. Signed-off-by: Christian Hesse <mail@eworm.de>
2018-06-23prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-23prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-04-26prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-11-01prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-10-17use a stronger hashing algorithmChristian Hesse
Nobody wants to use md5 these days... Signed-off-by: Christian Hesse <mail@eworm.de>
2017-06-25prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-06-04[archiso] Add ca-certificates.crtGerardo Exequiel Pozzi
Fix FS#54275 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-03-25prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-03-14Handle case where ip=dhcpDavid Thurstenson
Signed-off-by: David Thurstenson <thurstylark@gmail.com>
2017-03-14Add timeout to ipconfig callDavid Thurstenson
Signed-off-by: David Thurstenson <thurstylark@gmail.com>
2017-03-02[archiso] Fix docs -dual -> x86_64Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-02-21prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-02-12[archiso] Update docsGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-12-21prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-10-24prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-09-29pxe-common: not only search, but also domain entry in resolv.confChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-09-29pxe-common: add dns domain name in resolv.confChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-09-29pxe-common: add a comment what added settings to resolv.confChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-07-05always set copytoram for pxe boot via httpChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-31prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-05-29fix indention and add EditorConfig configurationChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-28flush and set down only if boot interface is knownChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-27do not declare bootif_dev localChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-27use ip syntax according to ip-address(8)Christian Hesse
According to ip-address(8) flushing an interface requires the keyword 'dev'. Also add proper quoting. Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-25move modprobe to run_earlyhook()Christian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-24only run pxe late hook if $ip is givenChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-24fix NBD boot without copy-to-ramChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-14prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-03-18[archiso] Set net iface down if copytoram=y (default)Gerardo Exequiel Pozzi
This should fix FS#36749 Also flush address on specified device (default) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-03-02prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-02-28prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-02-28Add the verify=y option to verify the squashfs signature with gpgThomas Bächler
2016-02-28Add gpg to the image and optionally create a keyringThomas Bächler
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.
2016-02-04fix boot parameters for mount optionsChristian Hesse
Fixes: e7ea394e5181de37a403b29e55d89afc34fdb867 Signed-off-by: Christian Hesse <mail@eworm.de>
2015-12-13add boot params archisoflags= and cow_flags= for mount optionsChristian Hesse
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>
2015-09-28prepare releaseGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
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-07-30prepare releaseGerardo 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 releaseGerardo 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-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>