- 14 May, 2021 1 commit
-
-
Simon Wilper authored
use pv to give feedback on copying the airootfs to RAM when copytoram kernel parameter is given
-
- 29 Jul, 2020 2 commits
-
-
nl6720 authored
Gets rid of a gpg warning: gpg: WARNING: unsafe permissions on homedir '/tmp/mkinitcpio.*/root/gpg'
-
David Runge authored
LICENSE: Add GPL-3.0 license. {{archiso,configs}/*,.editorconfig,.gitlab-ci.yml}: Add SPDX license identifier. Makefile: Add SPDX license identifier. Install the `run_archiso.sh` script as global executable `run_archiso`. Use -D and -t flags to install to install files more generically (without a previous call to install the directory). README.rst: Add README outlining the project's scope, how to build images from the profiles and how to test. AUTHORS.rst: Add list of all direct contributors to the repository. CONTRIBUTING.rst: Add basic contribution guidelines, explaining the linter and the license in use. Closes #7 Closes #3
-
- 11 Jul, 2020 1 commit
-
-
David Runge authored
archiso/initcpio/install/*: Setting bash shebang for all scripts and making them comform with shellcheck. archiso/initcpio/{hooks,script}/*: Setting ash shebang for all scripts and making them comform with shellcheck (for dash, as shellcheck has no ash specific ruleset). Essentially the ash based scripts should be POSIX compliant as much as possible to have an easier time writing, debugging and maintaining them. Ensuring that variables are not treated as options and introducing variable quoting. .gitlab-ci.yml: Integrating shellcheck for initcpio scripts. Closes #32
-
- 28 Feb, 2016 2 commits
-
-
Thomas Bächler authored
-
Thomas Bächler authored
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.
-
- 27 Jan, 2015 1 commit
-
-
Gerardo Exequiel Pozzi authored
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>
-
- 14 Oct, 2014 1 commit
-
-
Gerardo Exequiel Pozzi authored
Move from percent to explicit size and set a default of 256M (sparse) Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-
- 25 Aug, 2012 1 commit
-
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 19 May, 2012 1 commit
-
-
Gerardo Exequiel Pozzi authored
Needs mkinitcpio >= 0.9.0 Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 27 Apr, 2012 1 commit
-
-
Gerardo Exequiel Pozzi authored
device-mapper >= 2.02.95-2 Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 05 Apr, 2012 1 commit
-
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 23 Feb, 2012 1 commit
-
-
Gerardo Exequiel Pozzi authored
* Add #!/bin/bash to install hooks and fixed vimlines. * Removed empty variables. * Reorder variables, adjust brace/parens in functions. * Removed things implemented in base hook (/tmp, /etc/fstab). Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 03 Feb, 2012 1 commit
-
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 11 Jan, 2012 1 commit
-
-
Gerardo Exequiel Pozzi authored
New losetup from util-linux 2.21 uses new /dev/loop-control from Linux 3.1. Needs mkinitcpio-0.8.2+ (provides modules.devname, or workaround with earlymodules=loop) Get advantages from it! Removing custom shell code. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 28 Nov, 2011 2 commits
-
-
Gerardo Exequiel Pozzi authored
In this way allow to mount /run/archiso/bootmnt from another hook, but still use the logic from the main mount_hook, skipping only this mount. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
Gerardo Exequiel Pozzi authored
* Now bootmnt/img_dev is always a ro-mount, and cowspace is first ro-mount then rw-mount. * Fix a "hidden" bug: at the time of test [[ -ef ]], if devices nodes are not ready, such test will fail then archisodevice will mounted ro and when cow_device is mounted to be rw it fails. (I recently suffered this on a machine with slow USB) Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 06 Nov, 2011 1 commit
-
-
Gerardo Exequiel Pozzi authored
* Remove IDE stuff. * Remove modules that can be added via relevant hooks. * Replace sata with virtio in baseline profile. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 24 Oct, 2011 1 commit
-
-
Gerardo Exequiel Pozzi authored
This allow to take control again of these mountpoints outside initramfs. (i.e: on deinitramfs stage at shutdown for unmount it) Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 31 Aug, 2011 1 commit
-
-
Gerardo Exequiel Pozzi authored
* These files was added during developement stage of dm-snapshot branch of archiso. Never was used, sinse archiso works directly with dmsetup and with device nodes in /dev/mapper/ * Added 11-dm-initramfs.rules to keep dm info about nodes persistent in udev db across initramfs/real-root. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 09 Jul, 2011 1 commit
-
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 18 Jun, 2011 1 commit
-
-
Gerardo Exequiel Pozzi authored
* Use device mapper + snapshot module, instead union layer filesystem. * A block-level approach vs vfs-level. * No more unofficial (Linux) things. * More memory is needed. * Refactor mkarchiso. * Refactor hooks/archiso. * Fix install/archiso_pxe_nbd (due recent change in mkinitcpio-0.6.15 on checked_modules()/all_modules()) [Thanks Dave for the improved workaround] * New configs/releng to build official images. * Works with a Bash script instead of Makefile. (better control and easy to maintain) * Remove configs/syslinux-iso. * Remove archiso2dual script. Integrate functionality in configs/releng. * New configs/baseline to build the most basic live medium or use as template. * New README (draft). [Thanks Dieter for fixing english grammar] Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 09 Jul, 2010 1 commit
-
-
Gerardo Exequiel Pozzi authored
* squashfs images that will be part of read-only branchs for union mount in / are mounted on /ro_branch/{image_name} instead of /tmpfs/mnt/{image_name} (and avoid empty dirs on live env under /mnt) * tmpfs that will be part of read-write branch for union mount in / is mounted on /rw_branch instead of /tmpfs * tmpfs that is for store *.sqfs images when copytoram=y, is mounted on /copytoram instead of /tmpfs.sqfs * tmpfs_size= parameter renamed to rw_branch_size= * tmpfs_sqfs_size= parameter renamed to copytoram_size= Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 23 Jun, 2010 1 commit
-
-
Gerardo Exequiel Pozzi authored
Latest init script mounts a /dev FS, so /dev/loop0 will disappear. Create loop0 on /lib/udev/devices so udev copy to /dev on startup. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 09 May, 2010 1 commit
-
-
Thomas Bächler authored
-
- 16 Mar, 2010 1 commit
-
-
Gerardo Exequiel Pozzi authored
Takes the advantage of already symlinks created on /dev/disk/by-label/ by 60-persistent-storage.rules add by udev hook. Tested on: * Real machine as CD-ROM and USB key drive. * KVM as CD-ROM and DISK (for both modes, in combination with IDE and SCSI) * VirtualBox as IDE CD-ROM. IMPORTANT note: Since isohybrid is a hack, if more partitions are added to USB key drive, filesystem on these partitions MUST have LABEL, otherwise USB key will fail to boot. Anyway there is an option archisodevice=, to force and specific device where live-media reside. (Maybe isohybrid will change the hack method used in a future) More info at: http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000890.html http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000913.html Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 01 Mar, 2010 1 commit
-
-
Gerardo Exequiel Pozzi authored
Fixes FS#17182: copytoram=y does not work with aufs The solution is simple, just use a directory outside aufs tree. * If copytoram=y, then another tmpfs is mounted but on /tmpfs.sqfs * Add a new option: tmpfs_sqfs_size= (default to 75%) * Lock cdrom drive is not locked if copytoram=y Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 17 Feb, 2010 1 commit
-
-
Gerardo Exequiel Pozzi authored
* Make first /dev/loop0 device at archiso install hook. * Remove unneeded losetup, all is done directly via mount. * Images are now mounted on /tmpfs/mnt/image-name instead of /tmpfs/mnt/loopN, removing unneeded counter. * Add some variables to make code more readable. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 16 Feb, 2010 1 commit
-
-
Gerardo Exequiel Pozzi authored
Next version of mkinitcpio > 0.6.2 implements mount hook functionality. So can avoid skipping normal flow of main init script, and removing common end code with it. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 21 Oct, 2009 1 commit
-
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-
- 17 Apr, 2009 1 commit
-
-
Aaron Griffin authored
Signed-off-by:
Aaron Griffin <aaronmgriffin@gmail.com>
-
- 07 Sep, 2008 2 commits
-
-
Aaron Griffin authored
Signed-off-by:
Aaron Griffin <aaronmgriffin@gmail.com>
-
Aaron Griffin authored
Signed-off-by:
Aaron Griffin <aaronmgriffin@gmail.com>
-
- 20 Jun, 2008 1 commit
-
-
Simo Leone authored
I missed a hook last time, so it was producing some scary, but harmless output. Signed-off-by:
Simo Leone <simo@archlinux.org>
-
- 17 May, 2008 1 commit
-
-
Simo Leone authored
Loopbacks became a module in 2.6.25. Signed-off-by:
Simo Leone <simo@archlinux.org>
-
- 11 Oct, 2007 1 commit
-
-
Dan McGee authored
Move the vim modelines to the bottom, and add the tab settings. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 10 Oct, 2007 1 commit
-
-
Simo Leone authored
Several small changes just as a shim to get everything to work. Signed-off-by:
Simo Leone <simo@archlinux.org>
-
- 29 Sep, 2006 1 commit
-
-
Aaron Griffin authored
git-svn-id: http://phraktured.net/archiso@15 00a9fe69-e71b-0410-bb23-df0e5024db41
-
- 28 Sep, 2006 1 commit
-
-
Aaron Griffin authored
git-svn-id: http://phraktured.net/archiso@14 00a9fe69-e71b-0410-bb23-df0e5024db41
-
- 11 Sep, 2006 1 commit
-
-
Aaron Griffin authored
git-svn-id: http://phraktured.net/archiso@4 00a9fe69-e71b-0410-bb23-df0e5024db41
-