• Kyle Russell's avatar
    swupdate: reboot on update from initramfs recovery image · bf95cb0f
    Kyle Russell authored and Stefano Babic's avatar Stefano Babic committed
    
    
    Create swupdate-progress-sysvinit and swupdate-progress-systemd packages with
    the necessary startup scripts for swupdate-progress to run correctly during
    startup for both virtual/init managers. swupdate-image initramfs should RDEPEND
    on swupdate-progress-sysvinit, which now adds a dependency on the swupdate-progress
    binary (packaged in swupdate-progress-bin).
    
    This allows swupdate-progress to simultaneously be installed in both a distro's
    main rootfs which uses the systemd DISTRO_FEATURE, and the initramfs image which
    uses sysvinit.
    
    The old swupdate-progress package is now empty, and can still be used as an
    RDEPENDS on the main rootfs image recipe, and swupdate will automatically
    select the appropriate startup script based on DISTRO_FEATURES.
    Signed-off-by: default avatarKyle Russell <bkylerussell@gmail.com>
    bf95cb0f