Skip to content

Commit efaafb4

Browse files
authored
Merge pull request #46 from lool/update-linux-deb-bdeps
linux: Add new libdw-dev build-dep
2 parents f6b4f77 + 8c7ad8c commit efaafb4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
fi
6060
# install build-dependencies; TODO: --no-install-recommends
6161
apt -y install git crossbuild-essential-arm64 make flex bison bc \
62-
libelf-dev libssl-dev libssl-dev:arm64 dpkg-dev \
62+
libdw-dev libelf-dev libssl-dev libssl-dev:arm64 dpkg-dev \
6363
debhelper-compat kmod python3 rsync coreutils
6464
scripts/build-linux-deb.sh kernel-configs/systemd-boot.config
6565

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ apt -y install git crossbuild-essential-arm64 make bison flex bc libssl-dev gnut
5454

5555
Building a Linux kernel deb requires the following build-dependencies:
5656
```bash
57-
apt -y install git crossbuild-essential-arm64 make flex bison bc libelf-dev libssl-dev libssl-dev:arm64 dpkg-dev debhelper-compat kmod python3 rsync coreutils
57+
apt -y install git crossbuild-essential-arm64 make flex bison bc libdw-dev libelf-dev libssl-dev libssl-dev:arm64 dpkg-dev debhelper-compat kmod python3 rsync coreutils
5858
```
5959

6060
## Usage

scripts/build-linux-deb.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ packages="git"
2424
# will pull gcc-aarch64-linux-gnu; should pull a native compiler on arm64 and
2525
# a cross-compiler on other architectures
2626
packages="${packages} crossbuild-essential-arm64"
27-
# linux build-dependencies
28-
packages="${packages} make flex bison bc libelf-dev libssl-dev libssl-dev:arm64"
27+
# linux build-dependencies; see linux/scripts/package/mkdebian
28+
packages="${packages} make flex bison bc libdw-dev libelf-dev libssl-dev"
29+
packages="${packages} libssl-dev:arm64"
2930
# linux build-dependencies for debs
3031
packages="${packages} dpkg-dev debhelper-compat kmod python3 rsync"
3132
# for nproc

0 commit comments

Comments
 (0)