Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/debos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
-t xfcedesktop:true \
-t aptlocalrepo:${PWD}/local-apt-repo \
-t kernelpackage:'${{ inputs.kernelpackage }}' \
-t "buildid:${BUILD_ID}" \
--print-recipe \
debos-recipes/qualcomm-linux-debian-rootfs.yaml

Expand Down
17 changes: 17 additions & 0 deletions debos-recipes/qualcomm-linux-debian-rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{{- $localdebs := or .localdebs "none" }}
{{- $aptlocalrepo := or .aptlocalrepo "none" }}
{{- $kernelpackage := or .kernelpackage "linux-image-arm64" }}
{{- $buildid := or .buildid "" }}

architecture: arm64

Expand Down Expand Up @@ -246,6 +247,22 @@ actions:
update-locale LANG=en_US.UTF-8
fi

{{- if ne $buildid "" }}
- action: run
description: Set build ID and flavor in /etc/buildinfo
chroot: true
command: |
set -eux
touch /etc/buildinfo
chmod 644 /etc/buildinfo
echo "BUILD_ID={{$buildid}}" >>/etc/buildinfo
{{- if eq $xfcedesktop "true" }}
echo "VARIANT_ID=xfce" >>/etc/buildinfo
{{- else }}
echo "VARIANT_ID=console" >>/etc/buildinfo
{{- end }}
{{- end }}

# usually these packages are pulled by Pre-Depends/Depends/Recommends of
# Debian's linux-image, but kernel packages generated with the upstream
# deb-pkg target don't have these dependencies, so install these before
Expand Down
Loading