21edf8072c
Introduce a new function change_default_kernel() to change the default boot kernel, which is defined as "default-kernel" in lat.yaml file. Either build-image --std or build-image --rt uses the same pkg list file(stx-std.lst), no longer maintain stx-rt.lst. All the rt packages are merged into stx-std.lst, so always pass "std" to function check_stx_patched() to select stx-std.lst file. The --std or --rt of build-image changes to set the default booting kernel. Test Plan: Pass: build-image --std Pass: boot up, uname -a shows up std kernel Pass: change to rt kernel in /boot/1/kernel.env Pass: reboot, uname -a shows up rt kernel Pass: build-image --rt Pass: boot up, uname -a shows up rt kernel Pass: change to std kernel in /boot/1/kernel.env Pass: reboot, uname -a shows up std kernel Story: 2008846 Task: 45417 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Change-Id: I784aefd540ab334c460e9f136910da9ac6b86209 |
||
---|---|---|
.. | ||
.gitignore | ||
aptly_deb_usage.py | ||
build-image | ||
build-pkgs | ||
circular_dep.conf | ||
debdownloader | ||
debrepack.py | ||
debsentry.py | ||
discovery.py | ||
downloader | ||
dsc_depend.py | ||
dsccache.py | ||
git_utils.py | ||
repo_manage.py | ||
repo_utils.py | ||
utils.py |