summaryrefslogtreecommitdiff
path: root/archiso
AgeCommit message (Collapse)Author
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-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-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.
2014-06-28[archiso] mkarchiso: Only use ext4 as filesystem for airootfsGerardo Exequiel Pozzi
2014-06-28[archiso] Rename root-image to airootfsGerardo Exequiel Pozzi
Two purposes: * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20" * ISO9660 filename friendly: "-" is replaced with "_"
2014-05-21[archiso] Add nls_iso8859-1 to initramfs.Gerardo Exequiel Pozzi
Fix FS#40217 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-10-02[archiso] mkarchiso: init cmd: test for file instead of directoryGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-09-21[archiso] mkarchiso: use arch-install-scripts instead of own functionsGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-09-21[configs/releng] explicit set 'Storage=volatile' for journaldGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-06-20[archiso] Add support to isohybrid-gpt for EFI bootGerardo Exequiel Pozzi
Tested and works fine under qemu using seabios and ovmf $ qemu-system-x86_64 -enable-kvm -drive file=~/archlinux-2013.06.20-dual.iso $ qemu-system-x86_64 -enable-kvm -drive file=~/archlinux-2013.06.20-dual.iso,media=cdrom $ qemu-system-x86_64 -enable-kvm -bios ~/arch/OVMF/bios.bin -drive file=~/archlinux-2013.06.20-dual.iso $ qemu-system-x86_64 -enable-kvm -bios ~/arch/OVMF/bios.bin -drive file=~/archlinux-2013.06.20-dual.iso,media=cdrom Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-03-03[archiso] Fix find cmd in _cleanup()Gerardo Exequiel Pozzi
Fix FS#34075 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-01-08[archiso] Avoid integer overflow when .fs is > 10.2GGerardo Exequiel Pozzi
2012-12-16[archiso] mkarchiso: Cleanup kernel(s) in /bootGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-16[archiso] mkarchiso: do not process aitab entry if arch differsGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10[archiso] mkarchiso: Disable lazy_itable_init (ext4)Gerardo Exequiel Pozzi
Ensure that all inode table is initialized at filesystem creation. (Anyway filesystem is small, so at first mount is may quickly initialized) This avoid possible COW usage during runtime ;) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10[archiso] mkarchiso: Use truncate instead of ddGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-24[archiso] Avoid journald log to /var/log/journalGerardo Exequiel Pozzi
This was recently enabled in [systemd] package. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-24[archiso] Remove uneeded cleanup /tmpGerardo Exequiel Pozzi
/tmp is mounted as tmpfs since archiso implements own chroot code. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-24[archiso] Remove old code (now redundant)Gerardo Exequiel Pozzi
/etc/mtab symlink is part of [filesystem] since long time Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-16[archiso] Allow set copytoram=n for NBD/NFSGerardo Exequiel Pozzi
On low memory systems installing via PXE is not possible. Do not force copytoram=y for NFS/NDB. Broken/hang things: * On shutdown. * On run-time if some network settings changed. Implements FS#32006. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13[archiso] Introduce cowfile_size= bootparamGerardo Exequiel Pozzi
If not set, nothing is changed in current behaviour. Since dm-snapshot allows to use as "COW" a file with any size, without caring about the the size of "origin", we can avoid creating a "COW" file of the same size as the "origin". This is really useful, when using as cow_device= a filesystem that is VFAT where sparse files are not supported, so if root-image.fs is 1000M, passing cowfile_size=25% will create a root-image.cow of 250M instead of 1000M. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-06Revert "Fix typo in shebang"Pierre Schmitz
This reverts commit 6f68bec907f5fbfdd1e73be8812ea0ff925965aa. Using ash was actually correct as only this shell is available in initramfs. It was the commit message of 27940c420f01f550f36c3aa25633b43a4f2a2069 that was wrong
2012-10-06Fix typo in shebangPierre Schmitz
2012-10-06Use tmpfs for /etc/pacman.d/gnupg instead of a symlink to /runPierre Schmitz
This fixes FS#31815 Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-08-25[archiso] Rework Makefile / Reorder filesGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-25[archiso] Always copytoram for NFSGerardo Exequiel Pozzi
Avoids problems on shutdown (and during normal usage if networks settings changed) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-25[archiso] Always copytoram for NBDGerardo Exequiel Pozzi
Avoid issues on shutdown (and during normal usage if network settings changed) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-03Move Makefile to project root to avoid issues with git archivePierre Schmitz
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-08-01[archiso] Replace rsync with cpGerardo Exequiel Pozzi
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-01archiso_pxe_http: curl should follow redirectsFlorian Pritz
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-07-31Add dist function to MakefilePierre Schmitz
This dist function creates a tar archive of a tag. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-07-24[archiso] archiso_pxe_common: /lib -> /usr/libGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-24[archiso] Update MakefileGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-23[archiso] Remove testiso from MakefileGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-22[archiso] Remove testiso scriptGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-20[archiso] Add btrfs support as filesystem for *.fs.sfsGerardo Exequiel Pozzi
Implements FS#30378 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-07-17[archiso] archiso_shutdown: use run_cleanuphook()Gerardo Exequiel Pozzi
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-05-29[archiso] mkarchiso: improve info messagesGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>