Skip to content
Permalink
Branch: master
Commits on Mar 22, 2019
  1. Merge pull request #2092 from jsmeix/for_mktemp_use_sufficent_XXXXXXXXXX

    jsmeix committed Mar 22, 2019
    When mktemp needs to be called with a TEMPLATE
    call it with sufficent XXXXXXXXXX in the TEMPLATE,
    otherwise use the mktemp default (i.e. call it without an explicit
    TEMPLATE value when the TEMPLATE value is basically useless).
  2. Merge pull request #2097 from rmetrich/master

    rmetrich committed Mar 22, 2019
    #1886 - LPAR/PPC64 bootlist is incorrectly set when having multiple '…
  3. #1886 - LPAR/PPC64 bootlist is incorrectly set when having multiple '…

    rmetrich committed Mar 22, 2019
    …prep' partitions
    
    - Wrap bootlist into quotes
    
    Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
  4. Merge pull request #2096 from rmetrich/master

    rmetrich committed Mar 22, 2019
    fixed bootlist (special thanks to pcahyna++)
  5. - fixed bootlist (special thanks to pcahyna++)

    rmetrich committed Mar 22, 2019
    Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
Commits on Mar 21, 2019
  1. Call mktemp with sufficent XXXXXXXXXX where needed otherwise use the …

    Johannes Meixner
    Johannes Meixner committed Mar 21, 2019
    …mktemp default
  2. Merge pull request #2088 from jsmeix/Error_function_must_not_return_t…

    jsmeix committed Mar 21, 2019
    …o_its_caller_but_wait_until_killed
    
    Ensure that the Error function results a direct and complete exit
    of the whole running 'rear' program:
    Before when the Error function was called from a (possibly nested) subshell
    it did not exit the whole running 'rear' program because Error sends SIGUSR1
    to MASTER_PID (which is the usr/sbin/rear main script) that has a trap for it
    to error out but when MASTER_PID is waiting for the subshell where Error
    was called and MASTER_PID receives a signal for which a trap has been set
    the trap will not be executed until the subshell completes
    (see the section about 'SIGNALS' in "man bash").
    Therefore when Error was called in a subshell all subsequent code
    in that subshell after the Error call had also been executed, see
    #2087 (comment)
    and #2089 therein in particular
    #2089 (comment) and
    #2089 (comment)
    Now the Error function terminates all descendant processes of MASTER_PID
    except MASTER_PID and the current process that runs the Error function
    and when Error was called from a subshell it finally exits its own subshell
    so that when the Error function finished only MASTER_PID is still running
    and finally MASTER_PID exits (as usual via the DoExitTasks function).
  3. Use mktemp to create the temporary file safely

    Johannes Meixner
    Johannes Meixner committed Mar 21, 2019
  4. Merge pull request #2091 from fabz5/master

    jsmeix committed Mar 21, 2019
    Ignore invalid partitions on eMMC devices of type *rpmb and *boot*:
    Now the extract_partitions() function skips partitions on eMMC devices
    of type *rpmb or *boot[0-9] like /dev/mmcblk0rpmb or /dev/mmcblk0boot0
    because sysfs for (some?) eMMC disks recognises partitions, which are
    no usual partitions, but special areas on the eMMC. When trying to get
    the partition layout for such disks, ReaR would exit with an error, see
    #2087
Commits on Mar 20, 2019
  1. Use extended pattern matching to also support systems with more than …

    fabz5 committed Mar 20, 2019
    …10 eMMC devices or more than 10 *boot* partitions on these devices
  2. Determine the current PID for bash 3.x so that it works even from wit…

    Johannes Meixner
    Johannes Meixner committed Mar 20, 2019
    …hin a nested subshell
  3. Improve coding style: add double quotes to avoid possibly problematic…

    fabz5 committed Mar 20, 2019
    … array expansion
  4. Add comments detailing issues with special partitions on eMMC devices

    fabz5 committed Mar 20, 2019
Commits on Mar 19, 2019
  1. Ignore invalid partitions on eMMC devices of type *rpmb and *boot*

    fabz5 committed Mar 19, 2019
  2. Do not terminate the current process that runs the Error function

    Johannes Meixner
    Johannes Meixner committed Mar 19, 2019
  3. Adjusted the two terminate_descendants_* functions and DoExitTasks to…

    Johannes Meixner
    Johannes Meixner committed Mar 19, 2019
    … make things work cleanly in case of Error from a deep nested subshell
Commits on Mar 18, 2019
  1. Better and fixed comments

    Johannes Meixner
    Johannes Meixner committed Mar 18, 2019
  2. In Error function terminate descendants PIDs from childs to grandchil…

    Johannes Meixner
    Johannes Meixner committed Mar 18, 2019
    …ds to hopefully fix issue 2089 (not yet fully tested)
  3. In Error function exit our own subshell if we are in a subshell to mi…

    Johannes Meixner
    Johannes Meixner committed Mar 18, 2019
    …tigate issue 2089 (not yet a final solution)
  4. Error function must not immediately return to its caller so sleep one…

    Johannes Meixner
    Johannes Meixner committed Mar 18, 2019
    … second before return
Commits on Mar 15, 2019
  1. Merge pull request #2083 from OliverO2/update_opalpba

    jsmeix committed Mar 15, 2019
    Updated the OPALPBA workflow:
    Set USE_RESOLV_CONF='no' as networking is not required/available in the PBA.
    Avoid copying in the entire /etc/alternatives directory as its links could pull in
    lots of unwanted stuff, which is not required in rescue systems.
    Clean up plymouth/unlock service startup.
  2. Merge pull request #2084 from jsmeix/fix_comments_about_layout_prepar…

    jsmeix committed Mar 15, 2019
    …e_GNU_Linux_13X_include_scripts_that_were_renamed_via_issue_2080
    
    Fixed comments and messages about the
    layout/prepare/GNU/Linux/13X_include_... scripts
    that had been renamed via #2080
  3. Fixed comments and messages about layout/prepare/GNU/Linux/13X_includ…

    Johannes Meixner
    Johannes Meixner committed Mar 15, 2019
    …e_... scripts that had been renamed via issue 2080.
Commits on Mar 14, 2019
  1. OPALPBA: Clean up plymouth/unlock service startup

    OliverO2 committed Mar 14, 2019
  2. OPALPBA: Adapt workflow to recent changes (links in /etc/alternatives)

    OliverO2 committed Mar 14, 2019
    Motivation: Commit d97cfbe changed
    build/default/985_fix_broken_links.sh, making it copy all links targets.
    Links in /etc/alternatives can point to lots of stuff, which is not
    required in rescue systems (i.e. graphical editors).
  3. Merge pull request #2065 from rmetrich/PR_1954_respin

    rmetrich committed Mar 14, 2019
    network: Record permanent mac address when device is enslaved in a Team, or else /etc/mac-addresses will record broken information
Commits on Mar 13, 2019
  1. Merge pull request #2082 from OliverO2/fix_debian_dependencies

    gdha committed Mar 13, 2019
    Add 'net-tools' to Debian dependencies as required for 'route' command
  2. Merge pull request #2080 from jsmeix/make_both_btrfs_subvolumes_setup…

    jsmeix committed Mar 13, 2019
    …_implementations_available_follow_up_of_issue_2079
    
    Make both btrfs_subvolumes_setup implementations available
    and individually configurable which is used for which btrfs device
    via the new config variables BTRFS_SUBVOLUME_SLES_SETUP
    and BTRFS_SUBVOLUME_GENERIC_SETUP, see
    layout/prepare/GNU/Linux/133_include_mount_filesystem_code.sh
    how they currently work.
    This is a follow up of #2079
    Currently it is not documented because it is work in progress
    where arbitrary further changes will happen so one has to inspect
    the current code and its comments to see how things currently work.
  3. Fixed automatic append devices to BTRFS_SUBVOLUME_SLES_SETUP when nee…

    Johannes Meixner
    Johannes Meixner committed Mar 13, 2019
    …ded.
  4. Automatically append devices to the BTRFS_SUBVOLUME_SLES_SETUP array …

    Johannes Meixner
    Johannes Meixner committed Mar 13, 2019
    …when needed.
  5. Do not call btrfs_subvolumes_setup_generic with mountopts (not used b…

    Johannes Meixner
    Johannes Meixner committed Mar 13, 2019
    …y callee). Better descriptive names of scripts and renumbered scripts (avoid same numbers which looks sloppy).
Commits on Mar 12, 2019
  1. Adapted info_message about SLES12-SP1 (and later) btrfs subvolumes se…

    Johannes Meixner
    Johannes Meixner committed Mar 12, 2019
    …tup needed
  2. Using double quotes as in "${arr[@]}" to get all array elements separ…

    Johannes Meixner
    Johannes Meixner committed Mar 12, 2019
    …atedly
Older
You can’t perform that action at this time.