Skip to content
Snippets Groups Projects
  • Daniel Golle's avatar
    9b9c78e0
    base-files: evaluate uci-defaults on run-time installations · 9b9c78e0
    Daniel Golle authored
    
    Packages may install scripts into /etc/uci-defaults to be executed once
    after installation, usually at the first boot of the target. This works
    fine if the package was installed to the rootfs during build or using
    the ImageBuilder.
    If the package is installed using opkg during run-time uci-defaults
    were applied only after a reboot of the device. Avoid the need to
    reboot by evaluting the package's uci-defaults in default-postinst.
    
    Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
    9b9c78e0
    History
    base-files: evaluate uci-defaults on run-time installations
    Daniel Golle authored
    
    Packages may install scripts into /etc/uci-defaults to be executed once
    after installation, usually at the first boot of the target. This works
    fine if the package was installed to the rootfs during build or using
    the ImageBuilder.
    If the package is installed using opkg during run-time uci-defaults
    were applied only after a reboot of the device. Avoid the need to
    reboot by evaluting the package's uci-defaults in default-postinst.
    
    Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>