scripts: mkbootimg_rpi4.sh: Fix to install modules on non sudo
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 28 Oct 2019 08:18:09 +0000 (17:18 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 30 Mar 2021 01:39:32 +0000 (10:39 +0900)
commit5a0a646fb759ce00569fa2b404f6e9961adc41a3
treec5395896b13e34f8d72f613be43a7765541e8265
parentfea0b8d1dddad9f70c51e3df43da2ac91be24afe
scripts: mkbootimg_rpi4.sh: Fix to install modules on non sudo

On sudo status, env variable is possible not to be preserved and
it causes failure on modules_install. So fix to install modules on
non sudo status and then move the directories and files to image
area.

[From repo of tizen rpi3: 89dcbe9b298c scripts: mkbootimg_rpi3.sh: Fix to install modules on non sudo status]
Change-Id: Ie7047c23762b668a08abf387dd76cf9cc8571937
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
scripts/mkbootimg_rpi4.sh