Skip to content
Merged
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
5 changes: 5 additions & 0 deletions misc-tools/dj_make_chroot.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ RELEASE=""
DEBIAN_ARCHLIST="amd64,arm64,armel,armhf,i386,mips,mips64el,mipsel,ppc64el,s390x"
UBUNTU_ARCHLIST="amd64,arm64,armhf,i386,powerpc,ppc64el,s390x"

if ! command -v lsb_release; then
echo "Please install `lsb_release`."
exit 1
fi

# If host system is Debian or Ubuntu, use its release and architecture by default
if [ "$(lsb_release -i -s || true)" = 'Debian' ] || \
[ "$(lsb_release -i -s || true)" = 'Ubuntu' ]; then
Expand Down
Loading