Changeset 5896 in /cluster/svnroot


Ignore:
Timestamp:
Feb 20, 2017 7:09:19 PM (4 years ago)
Author:
skylar
Message:

move debootstrap logic into helper script re #997

Location:
bccd-ng/branches/skylar/bccd-3.4.0-build_ng
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0-build_ng/Makefile

    r5895 r5896  
    3535
    3636debootstrap:
    37         $(MKDIR_P) "$(WORKSPACE)/debootstrap"
    38         if [[ "$$WORKSPACE" =~ debootstrap$$ ]]; then \
    39                 /usr/bin/sudo /usr/sbin/debootstrap \
    40                         --exclude=linux-image-2.6.32-5,linux-image-2.6.32-5-amd64,linux-image-2.6.32-5-i686 \
    41                         --arch amd64 \
    42                         sid \
    43                         "$(WORKSPACE)/debootstrap" \
    44                         http://debmirror.cluster.earlham.edu \
    45         else \
    46                 /bin/tar -C "$(WORKSPACE)" -xf "$(WORKSPACE)"/target/debootstrap.tar; fi
     37        # Script will either create a new debootstrap (if executing a debootstrap project) or extract the imported
     38        # debootstrap.tar artifact
     39        "$(WORKSPACE)"/bin/prepare_debootstrap
    4740
    4841install-deb: target/bccd.noarch.deb debootstrap
Note: See TracChangeset for help on using the changeset viewer.