Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] OXT-1736 : do-build.sh zeus uprev and usability improvements #365

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
5 changes: 5 additions & 0 deletions do_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ STEPS="setupoe,initramfs,stubinitramfs,dom0,uivm,ndvm,syncvm,installer,installer
# Packages tree can use hardlinks to save disk space, if $SYNC_CACHE_OE/oe-archives is populated
# Requires a valid NETBOOT_HTTP_URL in .config

# OpenXT build requires system shell to be bash
SYSTEM_SHELL=$(basename $(readlink -f /bin/sh))
[[ ${SYSTEM_SHELL} == "bash" ]] || \
{ echo "OpenXT build requires bash as system shell. Please symlink /bin/sh to bash"; exit 1; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build-scripts/oe/setup.sh suggests this which seems more debian friendly:

# Use bash instead of dash for /bin/sh
echo "dash dash/sh boolean false" > /tmp/preseed.txt
debconf-set-selections /tmp/preseed.txt
dpkg-reconfigure -f noninteractive dash


TOPDIR=`pwd`
OUTPUT_DIR="$TOPDIR/build-output"
CMD="$0"
Expand Down