Merge ~xnox/debian-cd:generic-artifact-name into ~ubuntu-cdimage/debian-cd/+git/ubuntu:main

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: bcadb268c82b6c93094013351a36dbf1d8fede42
Proposed branch: ~xnox/debian-cd:generic-artifact-name
Merge into: ~ubuntu-cdimage/debian-cd/+git/ubuntu:main
Diff against target: 24 lines (+4/-2)
1 file modified
tools/boot/mantic/boot-arm64 (+4/-2)
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Review via email: mp+452429@code.launchpad.net

Commit message

x13s: Use generic kernel artifact name

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) wrote :

Confirmed that the new x13s image is the only user of the newly-added DTB extraction code here, so it should extract from the squashfs that's relevant on that particular image.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/tools/boot/mantic/boot-arm64 b/tools/boot/mantic/boot-arm64
2index 7915bbb..4974d4e 100755
3--- a/tools/boot/mantic/boot-arm64
4+++ b/tools/boot/mantic/boot-arm64
5@@ -20,7 +20,9 @@ case "$SUBARCH" in
6 FLAVOUR=nvidia-tegra
7 ;;
8 x13s)
9- FLAVOUR=laptop
10+ # See https://code.launchpad.net/~xnox/livecd-rootfs/+git/livecd-rootfs/+merge/452427
11+ #FLAVOUR=laptop
12+ FLAVOUR=generic
13 DTB="usr/lib/firmware/*/device-tree/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb"
14 EXTRA_CMDLINE="clk_ignore_unused pd_ignore_unused"
15 ;;
16@@ -41,7 +43,7 @@ fi
17
18 # extract dtb
19 if [ -n "$DTB" ]; then
20- unsquashfs -i -d $CDDIR/casper/squashfs-root $CDDIR/casper/minimal.squashfs -e "$DTB"
21+ unsquashfs -i -d $CDDIR/casper/squashfs-root $CDDIR/casper/minimal.standard.live.squashfs -e "$DTB"
22 mv $CDDIR/casper/squashfs-root/$DTB $CDDIR/casper/
23 rm -rf $CDDIR/casper/squashfs-root
24 DTB_COMMAND="

Subscribers

People subscribed via source and target branches