TT#29356 Improve the way to install checkbashisms from devscripts

Use "dpkg" instead of "ar", and don't write the rest of the contents
to disk.

Change-Id: I42e19ec04613dfbee5809917bb01347d6e2aa726
changes/00/18100/2
Manuel Montecelo 9 years ago
parent be85d77e0b
commit edad916ef2

@ -28,8 +28,7 @@ RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
# we need checkbashisms scipt only, providing it manually
RUN mkdir /tmp/zzz && cd /tmp/zzz && \
apt-get download devscripts && \
ar x devscripts_*.deb && \
tar -C / -p -xvf data.tar.xz ./usr/bin/checkbashisms && \
dpkg --fsys-tarfile devscripts_*.deb | tar -C / -p -xv ./usr/bin/checkbashisms && \
rm -rf /tmp/zzz
RUN echo 'SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher' >>/root/.bash_history

Loading…
Cancel
Save