mirror of
https://github.com/bitnami/minideb.git
synced 2026-06-04 10:13:55 +08:00
Install bsd utils to get logger
This is needed to install the mysql-server package. Fixes #16.
This commit is contained in:
committed by
James Westby
parent
3916090dd0
commit
5e09a4cbc4
+4
-1
@@ -20,6 +20,9 @@ work_out_debs () {
|
||||
# base-files as it has many important files
|
||||
# base-passwd to get user account info
|
||||
# bash because users will often shell in
|
||||
# bsdutils because it has some commands used in postinst
|
||||
# - particularly `logger` for `mysql-server` see
|
||||
# https://github.com/bitnami/minideb/issues/16
|
||||
# coreutils for many very common utilities
|
||||
# dash for a shell for scripts
|
||||
# debian-archive-keyring to verify apt packages
|
||||
@@ -43,7 +46,7 @@ work_out_debs () {
|
||||
# tzdata for handling timezones
|
||||
# util-linux for getopt
|
||||
# mount is required for mounting /proc during debootstrap
|
||||
required="adduser base-files base-passwd bash coreutils dash debian-archive-keyring diffutils dpkg findutils grep gzip hostname libc-bin login lsb-base mawk ncurses-base passwd sed sysv-rc tar tzdata util-linux mount"
|
||||
required="adduser base-files base-passwd bash bsdutils coreutils dash debian-archive-keyring diffutils dpkg findutils grep gzip hostname libc-bin login lsb-base mawk ncurses-base passwd sed sysv-rc tar tzdata util-linux mount"
|
||||
|
||||
base="apt"
|
||||
|
||||
|
||||
@@ -50,3 +50,7 @@ test bash -c 'timeout 60 bash -c "(install_packages thispackagebetternotexist ||
|
||||
# See https://github.com/bitnami/minideb/issues/17
|
||||
desc "Checking that the terminfo is valid when running with -t (#17)"
|
||||
echo "" | test_extra_args '-t' bash -c 'install_packages procps && top -d1 -n1 -b'
|
||||
|
||||
# See https://github.com/bitnami/minideb/issues/16
|
||||
desc "Check that we can install mysql-server (#16)"
|
||||
test install_packages mysql-server
|
||||
|
||||
Reference in New Issue
Block a user