-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
595a418
commit 195230a
Showing
11 changed files
with
376 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# build directory | ||
RPMS/ | ||
SOURCES/ | ||
BUILD/ | ||
SPECS/ | ||
disk*/ | ||
*.iso | ||
|
||
_os | ||
_arch | ||
_distribution | ||
.rpmmacros | ||
python.mk | ||
bootstrap.py | ||
|
||
# ignore version, rules files | ||
Rules-*.mk | ||
Rules.mk | ||
Rolls.mk | ||
roll*.mk | ||
roll-*.* | ||
rocks-*.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4bdd562ed18ffa1e44c5abf335049057b2f86327 src/singularity/singularity-2.2.1.tar.gz 0BwytB2hwlJ6VOXZLWjU4YUZQZUk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# | ||
# $Id$ | ||
# | ||
# @Copyright@ | ||
# | ||
# Rocks(r) | ||
# www.rocksclusters.org | ||
# version 6.2 (SideWinder) | ||
# | ||
# Copyright (c) 2000 - 2014 The Regents of the University of California. | ||
# All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are | ||
# met: | ||
# | ||
# 1. Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# 2. Redistributions in binary form must reproduce the above copyright | ||
# notice unmodified and in its entirety, this list of conditions and the | ||
# following disclaimer in the documentation and/or other materials provided | ||
# with the distribution. | ||
# | ||
# 3. All advertising and press materials, printed or electronic, mentioning | ||
# features or use of this software must display the following acknowledgement: | ||
# | ||
# "This product includes software developed by the Rocks(r) | ||
# Cluster Group at the San Diego Supercomputer Center at the | ||
# University of California, San Diego and its contributors." | ||
# | ||
# 4. Except as permitted for the purposes of acknowledgment in paragraph 3, | ||
# neither the name or logo of this software nor the names of its | ||
# authors may be used to endorse or promote products derived from this | ||
# software without specific prior written permission. The name of the | ||
# software includes the following terms, and any derivatives thereof: | ||
# "Rocks", "Rocks Clusters", and "Avalanche Installer". For licensing of | ||
# the associated name, interested parties should contact Technology | ||
# Transfer & Intellectual Property Services, University of California, | ||
# San Diego, 9500 Gilman Drive, Mail Code 0910, La Jolla, CA 92093-0910, | ||
# Ph: (858) 534-5815, FAX: (858) 534-7345, E-MAIL:[email protected] | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' | ||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS | ||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# | ||
# @Copyright@ | ||
# | ||
# $Log$ | ||
# | ||
|
||
-include $(ROLLSROOT)/etc/Rolls.mk | ||
include Rolls.mk | ||
|
||
default: roll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
#!/bin/bash | ||
# | ||
# @Copyright@ | ||
# | ||
# Rocks(r) | ||
# www.rocksclusters.org | ||
# version 6.2 (SideWinder) | ||
# | ||
# Copyright (c) 2000 - 2014 The Regents of the University of California. | ||
# All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are | ||
# met: | ||
# | ||
# 1. Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# 2. Redistributions in binary form must reproduce the above copyright | ||
# notice unmodified and in its entirety, this list of conditions and the | ||
# following disclaimer in the documentation and/or other materials provided | ||
# with the distribution. | ||
# | ||
# 3. All advertising and press materials, printed or electronic, mentioning | ||
# features or use of this software must display the following acknowledgement: | ||
# | ||
# "This product includes software developed by the Rocks(r) | ||
# Cluster Group at the San Diego Supercomputer Center at the | ||
# University of California, San Diego and its contributors." | ||
# | ||
# 4. Except as permitted for the purposes of acknowledgment in paragraph 3, | ||
# neither the name or logo of this software nor the names of its | ||
# authors may be used to endorse or promote products derived from this | ||
# software without specific prior written permission. The name of the | ||
# software includes the following terms, and any derivatives thereof: | ||
# "Rocks", "Rocks Clusters", and "Avalanche Installer". For licensing of | ||
# the associated name, interested parties should contact Technology | ||
# Transfer & Intellectual Property Services, University of California, | ||
# San Diego, 9500 Gilman Drive, Mail Code 0910, La Jolla, CA 92093-0910, | ||
# Ph: (858) 534-5815, FAX: (858) 534-7345, E-MAIL:[email protected] | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' | ||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS | ||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# | ||
# @Copyright@ | ||
# | ||
|
||
if [ ! -d $NBCRDEVEL ]; then | ||
echo "Need to install roll 'nbcr' first" | ||
exit 1 | ||
fi | ||
|
||
# set google url for dowloading sources | ||
. $NBCRDEVEL/bootstrap-values.sh | ||
|
||
# download sources | ||
. $ROLLSROOT/etc/bootstrap-functions.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" standalone="no"?> | ||
|
||
<graph> | ||
|
||
<description> | ||
|
||
The singularity Roll | ||
|
||
</description> | ||
|
||
<copyright> | ||
Copyright (c) 2000 - 2014 The Regents of the University of California. | ||
All rights reserved. Rocks(r) 6.2 www.rocksclusters.org | ||
|
||
</copyright> | ||
|
||
<changelog> | ||
$Log$ | ||
</changelog> | ||
|
||
<!-- add edges here --> | ||
<edge from="server" to="singularity"/> | ||
<order head="TAIL"> | ||
<tail>singularity</tail> | ||
</order> | ||
|
||
</graph> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" standalone="no"?> | ||
|
||
<kickstart> | ||
|
||
|
||
<description> | ||
Your singularity roll description here | ||
</description> | ||
|
||
<copyright> | ||
Copyright (c) 2000 - 2014 The Regents of the University of California. | ||
All rights reserved. Rocks(r) 6.2 www.rocksclusters.org | ||
|
||
</copyright> | ||
|
||
<changelog> | ||
$Log$ | ||
</changelog> | ||
|
||
<package>singularity</package> | ||
<package>singularity-devel</package> | ||
|
||
<post> | ||
if [ -f /etc/singularity/singularity.conf ]; then | ||
sed -i '109ibind path = /data' /etc/singularity/singularity.conf | ||
sed -i '110ibind path = /state' /etc/singularity/singularity.conf | ||
fi | ||
</post> | ||
|
||
</kickstart> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# $Id$ | ||
# | ||
# @Copyright@ | ||
# | ||
# Rocks(r) | ||
# www.rocksclusters.org | ||
# version 6.2 (SideWinder) | ||
# | ||
# Copyright (c) 2000 - 2014 The Regents of the University of California. | ||
# All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are | ||
# met: | ||
# | ||
# 1. Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# 2. Redistributions in binary form must reproduce the above copyright | ||
# notice unmodified and in its entirety, this list of conditions and the | ||
# following disclaimer in the documentation and/or other materials provided | ||
# with the distribution. | ||
# | ||
# 3. All advertising and press materials, printed or electronic, mentioning | ||
# features or use of this software must display the following acknowledgement: | ||
# | ||
# "This product includes software developed by the Rocks(r) | ||
# Cluster Group at the San Diego Supercomputer Center at the | ||
# University of California, San Diego and its contributors." | ||
# | ||
# 4. Except as permitted for the purposes of acknowledgment in paragraph 3, | ||
# neither the name or logo of this software nor the names of its | ||
# authors may be used to endorse or promote products derived from this | ||
# software without specific prior written permission. The name of the | ||
# software includes the following terms, and any derivatives thereof: | ||
# "Rocks", "Rocks Clusters", and "Avalanche Installer". For licensing of | ||
# the associated name, interested parties should contact Technology | ||
# Transfer & Intellectual Property Services, University of California, | ||
# San Diego, 9500 Gilman Drive, Mail Code 0910, La Jolla, CA 92093-0910, | ||
# Ph: (858) 534-5815, FAX: (858) 534-7345, E-MAIL:[email protected] | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' | ||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS | ||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# | ||
# @Copyright@ | ||
# | ||
# $Log$ | ||
|
||
-include $(shell $(ROCKSROOT)/bin/arch).mk | ||
-include $(shell $(ROCKSROOT)/bin/os).mk | ||
|
||
default: pkg | ||
|
||
copyright pkg rpm clean:: | ||
for i in $(SRCDIRS) ; do \ | ||
cd $$i; \ | ||
$(MAKE) $@ || exit 2 ; \ | ||
cd ..; \ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SRCDIRS = `find * -prune\ | ||
-type d \ | ||
! -name CVS \ | ||
! -name .` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# $Id$ | ||
# | ||
# @Copyright@ | ||
# | ||
# Rocks(r) | ||
# www.rocksclusters.org | ||
# version 6.2 (SideWinder) | ||
# | ||
# Copyright (c) 2000 - 2014 The Regents of the University of California. | ||
# All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are | ||
# met: | ||
# | ||
# 1. Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# 2. Redistributions in binary form must reproduce the above copyright | ||
# notice unmodified and in its entirety, this list of conditions and the | ||
# following disclaimer in the documentation and/or other materials provided | ||
# with the distribution. | ||
# | ||
# 3. All advertising and press materials, printed or electronic, mentioning | ||
# features or use of this software must display the following acknowledgement: | ||
# | ||
# "This product includes software developed by the Rocks(r) | ||
# Cluster Group at the San Diego Supercomputer Center at the | ||
# University of California, San Diego and its contributors." | ||
# | ||
# 4. Except as permitted for the purposes of acknowledgment in paragraph 3, | ||
# neither the name or logo of this software nor the names of its | ||
# authors may be used to endorse or promote products derived from this | ||
# software without specific prior written permission. The name of the | ||
# software includes the following terms, and any derivatives thereof: | ||
# "Rocks", "Rocks Clusters", and "Avalanche Installer". For licensing of | ||
# the associated name, interested parties should contact Technology | ||
# Transfer & Intellectual Property Services, University of California, | ||
# San Diego, 9500 Gilman Drive, Mail Code 0910, La Jolla, CA 92093-0910, | ||
# Ph: (858) 534-5815, FAX: (858) 534-7345, E-MAIL:[email protected] | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' | ||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS | ||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# | ||
# @Copyright@ | ||
# | ||
# $Log$ | ||
|
||
REDHAT.ROOT = $(CURDIR)/../../ | ||
SBUILDDIR = $(REDHAT.ROOT)/BUILD | ||
|
||
-include $(ROCKSROOT)/etc/Rules.mk | ||
include Rules.mk | ||
|
||
build: | ||
tar xzvf $(DISTNAME)-$(VERSION).$(TARBALL_POSTFIX) | ||
( \ | ||
cd $(DISTNAME)-$(VERSION); \ | ||
./configure; \ | ||
$(MAKE) dist; \ | ||
rpmbuild -ta $(DISTNAME)-$(VERSION).$(TARBALL_POSTFIX); \ | ||
) | ||
|
||
install:: | ||
if [ ! -d $(REDHAT.ROOT)/RPMS/$(ARCH) ]; then \ | ||
mkdir -p $(REDHAT.ROOT)/RPMS/$(ARCH); \ | ||
fi | ||
for rpm in `find $(SBUILDDIR) -name '$(DISTNAME)-*$(VERSION)*$(ARCH).rpm'`; do \ | ||
echo "Copying $$rpm"; \ | ||
/bin/mv $$rpm $(REDHAT.ROOT)/RPMS/$(ARCH); \ | ||
done | ||
|
||
clean:: | ||
rm -rf $(DISTNAME)-$(VERSION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
NAME = singularity-base | ||
DISTNAME = singularity | ||
VERSION = 2.2.1 | ||
RELEASE = 0 | ||
TARBALL_POSTFIX = tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ROLLNAME = singularity | ||
RELEASE = 0 | ||
COLOR = crimson | ||
|
||
REDHAT.ROOT = $(CURDIR) |