• Michael Shigorin's avatar
    deflogin: GLOBAL_ROOTPW is always set · f2892ad3
    Michael Shigorin authored
    use/deflogin will result in ROOTPW being exported no matter
    is it set or not; xport() can't check before exporting as it
    relies on lazy evaluation when the actual ROOTPW value can be
    set or modified after exporting GLOBAL_ROOTPW for mkimage.
    
    So let's not even pretent we can differ unset ROOTPW from
    empty ROOTPW: both result in empty GLOBAL_ROOTPW as of today.
    
    Fixing this would require moving the exports into a separate
    makefile being included after all the configuration and checking
    each variable for being defined before exporting the corresponding
    GLOBAL_ prefixed one.
    
    Yes this might be a security fix in some cases.
    f2892ad3
Name
Last commit
Last update
..
rootfs/image-scripts.d Loading commit data...
README Loading commit data...
config.mk Loading commit data...