Skip to content

Commit 96618fb

Browse files
committed
base.install: Add kexec tools and kernel debug packages for Debian likes and RedHat likes
Signed-off-by: Gaetan Trellu <[email protected]>
1 parent 6600a71 commit 96618fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/base.install

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@ install_base_packages() {
181181
cp -f /etc/resolv.conf "$target/etc/"
182182
local packages=""
183183
local cross_distro_packages="acpid bash curl dmidecode kbd lvm2 openssh-server parted pciutils rsync rsyslog sudo wget ntpdate logrotate ethtool hdparm iptables tcpdump ipmitool"
184-
local deb_packages="grub-pc ifenslave ifupdown isc-dhcp-client kexec-tools locales lsb-release lshw man netbase netcat-openbsd net-tools vim cron dnsutils"
184+
local deb_packages="grub-pc ifenslave ifupdown isc-dhcp-client kexec-tools locales lsb-release lshw man netbase netcat-openbsd net-tools vim cron dnsutils kdump-tools linux-image-$(uname -r)-dbg"
185185
local repository=$(add_main_repository $dist)
186186
add_megacli_repository $dist $target
187187
case $dist in
188188
$supported_ubuntu_dists)
189-
packages="$cross_distro_packages grub2 iputils-ping linux-firmware linux-firmware-nonfree linux-headers-generic-lts-trusty linux-image-generic-lts-trusty $deb_packages"
189+
packages="$cross_distro_packages grub2 iputils-ping linux-firmware linux-firmware-nonfree linux-headers-generic-lts-trusty linux-image-generic-lts-trusty $deb_packages linux-crashdump"
190190
echo "deb $repository $dist main universe multiverse" > ${target}/etc/apt/sources.list
191191
echo "deb $repository $dist-updates main universe multiverse" >> ${target}/etc/apt/sources.list
192192
echo "deb http://security.ubuntu.com/ubuntu $dist-security main universe multiverse" >> ${target}/etc/apt/sources.list
@@ -203,7 +203,7 @@ install_base_packages() {
203203
else
204204
CODENAME_MAJOR_PACKAGES="man-db grub2"
205205
fi
206-
packages="$cross_distro_packages coreutils dhclient e2fsprogs $CODENAME_MAJOR_PACKAGES grubby hdparm initscripts iproute kernel net-tools passwd perl redhat-lsb-core crontabs openssh-clients bind-utils"
206+
packages="$cross_distro_packages coreutils dhclient e2fsprogs $CODENAME_MAJOR_PACKAGES grubby hdparm initscripts iproute kernel net-tools passwd perl redhat-lsb-core crontabs openssh-clients bind-utils kexec-tools kernel-debuginfo"
207207
;;
208208
*)
209209
echo "unsupported distribution: $dist" 2>&1

0 commit comments

Comments
 (0)