Use isohybrid to add MBR for booting via BIOS
from USB flash drives
Also, Makefile "$(wildcard ubuntu-builder/*)" does not expand
to what is expected (does not include ubuntu-builder/Dockerfile),
as it uses a previous cached value.
Check this link for an explanation:
http://stackoverflow.com/questions/
41470676/makefile-variable-expansion-with-wildcard-when-rule-creates-new-file
JIRA: FUEL-236
Change-Id: I9c6521a382917822ce930ddf76391c5f3c3a9cb7
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
make python-setuptools python-all dpkg-dev debhelper ruby-json \
fuseiso git genisoimage bind9-host wget curl lintian tmux lxc iptables \
ca-certificates sudo apt-utils lsb-release dosfstools debmirror p7zip-full \
- build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
+ build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev \
+ syslinux
RUN gem install fpm
RUN pip install git+https://github.com/openstack/fuel-plugins
# - ubuntu-builder Dockerfile (includes eventual proxy env vars), runcontext;
# - The contents of this Makefile
.cacheid: .dockercfg
- sha1sum Makefile runcontext $(wildcard ubuntu-builder/*) > .cachedata
+ sha1sum Makefile runcontext ubuntu-builder/* > .cachedata
cat .cachedata | $(CACHETOOL) getid > .cacheid
# Clean local data related to caching - called prior to ordinary build
--joliet-long \
-x "lost+found" -o $NEWISO .
+ isohybrid $NEWISO
+
isoinfo -d -i $NEWISO
}