dev/chroot-test/action/install-installables
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:35 +0100
changeset 371 e9ce904b62a9
parent 364 1048e2943566
permissions -rwxr-xr-x
[test] add unit tests for ruleset We extract the rules building logic from readfile into a Ruleset.buildrules() method to ease testing.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
329
11db65f65fa7 Default to non-deb based test
Paul Crowley <paul@lshift.net>
parents: 326
diff changeset
     1
if ${CHROOT_TEST_INSTALLDEB:-false} ; then
326
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
     2
    aptitude --allow-untrusted --quiet --without-recommends --assume-yes  install \
364
1048e2943566 Remove no-longer-needed install of python-support
Paul Crowley <paul@lshift.net>
parents: 329
diff changeset
     3
         debconf python adduser openssh-server ucf
326
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
     4
    echo dpkg -i /var/cache/apt/archives/mercurial-common_*.deb /var/cache/apt/archives/mercurial_*.deb *.deb
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
     5
    dpkg -i /var/cache/apt/archives/mercurial-common_*.deb /var/cache/apt/archives/mercurial_*.deb *.deb
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
     6
else
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
     7
    aptitude --allow-untrusted --quiet --without-recommends --assume-yes  install \
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
     8
        make mercurial xsltproc docbook-xsl openssh-server \
364
1048e2943566 Remove no-longer-needed install of python-support
Paul Crowley <paul@lshift.net>
parents: 329
diff changeset
     9
        python adduser
326
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
    10
    cd mercurial-server
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
    11
    make setup-adduser
b44dd7bad82c Start work on single-headed way of doing things - merge debian into default
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
    12
fi