1. 11 Jul, 2020 1 commit
    • David Runge's avatar
      Adding linting for initcpio scripts · e2032db4
      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
      e2032db4
  2. 28 Feb, 2016 2 commits
  3. 27 Jan, 2015 1 commit
    • Gerardo Exequiel Pozzi's avatar
      [archiso] Add optional OverlayFS support · a637bdb8
      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: default avatarGerardo Exequiel Pozzi <vmlinuz386@gmail.com>
      a637bdb8
  4. 14 Oct, 2014 1 commit
  5. 25 Aug, 2012 1 commit
  6. 19 May, 2012 1 commit
  7. 27 Apr, 2012 1 commit
  8. 05 Apr, 2012 1 commit
  9. 23 Feb, 2012 1 commit
  10. 03 Feb, 2012 1 commit
  11. 11 Jan, 2012 1 commit
  12. 28 Nov, 2011 2 commits
  13. 06 Nov, 2011 1 commit
  14. 24 Oct, 2011 1 commit
  15. 31 Aug, 2011 1 commit
  16. 09 Jul, 2011 1 commit
  17. 18 Jun, 2011 1 commit
    • Gerardo Exequiel Pozzi's avatar
      [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit") · 85d243ff
      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: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
      85d243ff
  18. 09 Jul, 2010 1 commit
    • Gerardo Exequiel Pozzi's avatar
      Rename directories and parameteres to be more descriptive · 1bbeeb0e
      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: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
      1bbeeb0e
  19. 23 Jun, 2010 1 commit
  20. 09 May, 2010 1 commit
  21. 16 Mar, 2010 1 commit
  22. 01 Mar, 2010 1 commit
  23. 17 Feb, 2010 1 commit
  24. 16 Feb, 2010 1 commit
  25. 21 Oct, 2009 1 commit
  26. 17 Apr, 2009 1 commit
  27. 07 Sep, 2008 2 commits
  28. 20 Jun, 2008 1 commit
  29. 17 May, 2008 1 commit
  30. 11 Oct, 2007 1 commit
  31. 10 Oct, 2007 1 commit
  32. 29 Sep, 2006 1 commit
  33. 28 Sep, 2006 1 commit
  34. 11 Sep, 2006 1 commit
  35. 30 Aug, 2006 1 commit