Skip to content

Commit

Permalink
bb.org: stretch: make sure make is installed for this python library
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <[email protected]>
  • Loading branch information
RobertCNelson committed Sep 26, 2017
1 parent 588651a commit ddd527a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
14 changes: 9 additions & 5 deletions configs/bb.org-debian-stretch-oemflasher-v4.4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,30 @@ image_type="oemflasher"
##debootstrap --arch=${deb_arch} --include=${deb_include} --exclude=${deb_exclude} \
##--components=${deb_components} --foreign ${deb_codename} /tmp/tmp.dir/ http://${deb_mirror}
##
##Debian Jessie armhf
##
deb_distribution="debian"
deb_codename="stretch"
deb_arch="armhf"
#
deb_include=" \
bsdmainutils \
ca-certificates \
connman \
dbus \
dos2unix \
dosfstools \
dnsmasq \
git-core \
initramfs-tools \
linux-base \
memtester \
net-tools \
openssh-server \
patch \
rsync \
sudo \
systemd \
udhcpd \
wget \
xz-utils \
"

#
Expand All @@ -50,16 +52,18 @@ deb_mirror=""
##
##Some packages fail to install via debootstrap: deb_additional_pkgs="<comma|space>"
##
#
deb_additional_pkgs="bmap-tools"

##
rfs_username="debian"
rfs_fullname="Demo User"
rfs_password="temppwd"
rfs_hostname="beaglebone"
rfs_startup_scripts="enable"
#rfs_opt_scripts="https://github.com/RobertCNelson/boot-scripts"
rfs_default_desktop=""
rfs_desktop_background=""
#rfs_default_desktop=""
#rfs_desktop_background=""
rfs_default_locale="en_US.UTF-8"
rfs_etc_dogtag="BeagleBoard.org Debian Image"
rfs_console_banner="Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian"
Expand Down
20 changes: 11 additions & 9 deletions target/chroot/beagleboard.org-stretch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,18 @@ install_pip_pkgs () {
rm -f get-pip.py || true

if [ -f /usr/local/bin/pip ] ; then
echo "Installing pip packages"
git_repo="https://github.com/adafruit/adafruit-beaglebone-io-python.git"
git_target_dir="/opt/source/adafruit-beaglebone-io-python"
git_clone
if [ -f ${git_target_dir}/.git/config ] ; then
cd ${git_target_dir}/
sed -i -e 's:4.1.0:3.4.0:g' setup.py
python setup.py install
if [ -f /usr/bin/make ] ; then
echo "Installing pip packages"
git_repo="https://github.com/adafruit/adafruit-beaglebone-io-python.git"
git_target_dir="/opt/source/adafruit-beaglebone-io-python"
git_clone
if [ -f ${git_target_dir}/.git/config ] ; then
cd ${git_target_dir}/
sed -i -e 's:4.1.0:3.4.0:g' setup.py
python setup.py install
fi
pip install iw_parse
fi
pip install iw_parse
fi
fi
fi
Expand Down

0 comments on commit ddd527a

Please sign in to comment.