root/build-tools/stx
Yue Tao 21edf8072c Debian: support multi kernels in single image
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
2022-05-25 10:41:13 +08:00
..
.gitignore stx: discover buildable packages 2022-04-19 17:42:35 +08:00
aptly_deb_usage.py Debian: repo_manage: Add interface to deploy repo manually 2022-05-20 09:50:31 +08:00
build-image Debian: support multi kernels in single image 2022-05-25 10:41:13 +08:00
build-pkgs Merge "build-pkgs: add Debian snapshot into chroot" 2022-05-20 14:00:44 +00:00
circular_dep.conf circular_dep.conf: Adjust the build order, build systemd firstly 2022-04-23 17:30:14 +08:00
debdownloader debdownloader: update binaries dir 2022-03-28 10:36:05 -03:00
debrepack.py Merge "debrepack.py: don't clean up the "srcdir" in setup" 2022-05-10 17:57:44 +00:00
debsentry.py debsentry.py: capture exceptions 2022-05-05 11:03:37 +08:00
discovery.py build-pkgs: Added full dscs of layer to dsc_depend 2022-05-19 22:46:15 +08:00
downloader downloader & build-pkgs: Publish the local repository 2022-05-19 22:41:39 +08:00
dsc_depend.py dsc_depend: support building part of source packages 2022-05-19 22:40:31 +08:00
dsccache.py build-pkgs: Added full dscs of layer to dsc_depend 2022-05-19 22:46:15 +08:00
git_utils.py stx: discover buildable packages 2022-04-19 17:42:35 +08:00
repo_manage.py Debian: repo_manage: Add interface to deploy repo manually 2022-05-20 09:50:31 +08:00
repo_utils.py stx: discover buildable packages 2022-04-19 17:42:35 +08:00
utils.py Add timestamp to build logs 2022-05-02 10:30:58 -07:00