[arch-releng] [archiso] [GIT] branch master updated (fe29d5f -> 9322a0d)

Gerardo Exequiel Pozzi djgera at archlinux.org
Tue Jan 27 17:39:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

djgera pushed a change to branch master
in repository archiso.

      from  fe29d5f   add documentation for cow_chunksize=
       new  a637bdb   [archiso] Add optional OverlayFS support
       new  9322a0d   [archiso] Rename cowfile_size to cow_spacesize=

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit 9322a0d3b7360f47339e98533a1bcbec321921f4
Author: Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com>
Date:   Tue Jan 27 14:37:05 2015 -0300

    [archiso] Rename cowfile_size to cow_spacesize=
    
    The name is more relevant since the usage is shared for both
    dm-snapshot and overlayfs.
    
    Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com>

commit a637bdb8574168ab4cddef13d5de7f458650bda5
Author: Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com>
Date:   Tue Jan 27 14:37:05 2015 -0300

    [archiso] Add optional OverlayFS support
    
    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 at gmail.com>

Summary of changes:
 archiso/initcpio/hooks/archiso   | 28 +++++++++++++++++++++-------
 archiso/initcpio/install/archiso |  1 +
 archiso/mkarchiso                | 34 ++++++++++++++++++++++++++++++----
 docs/README.bootparams           | 14 ++++++++------
 4 files changed, 60 insertions(+), 17 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the arch-releng mailing list