summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
Diffstat (limited to 'strata')
-rw-r--r--strata/bsp-armv8l64-generic.morph2
-rw-r--r--strata/bsp-armv8l64-generic/linux-armv8l64-generic.morph (renamed from strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph)1
-rw-r--r--strata/cross-bootstrap.morph53
-rw-r--r--strata/cross-bootstrap/cmdtest.morph6
-rw-r--r--strata/cross-bootstrap/pyfilesystem.morph6
-rw-r--r--strata/cross-bootstrap/python-coveragepy.morph6
-rw-r--r--strata/cross-bootstrap/python-ttystatus.morph6
-rw-r--r--strata/databases/memcached.morph13
-rw-r--r--strata/python-common.morph2
-rw-r--r--strata/python-common/pycrypto.morph3
-rw-r--r--strata/tools/rsync.morph3
11 files changed, 22 insertions, 79 deletions
diff --git a/strata/bsp-armv8l64-generic.morph b/strata/bsp-armv8l64-generic.morph
index 702858de..63c4ff5b 100644
--- a/strata/bsp-armv8l64-generic.morph
+++ b/strata/bsp-armv8l64-generic.morph
@@ -9,7 +9,7 @@ build-depends:
- morph: strata/core.morph
chunks:
- name: linux-armv8l64-generic
- morph: strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph
+ morph: strata/bsp-armv8l64-generic/linux-armv8l64-generic.morph
repo: upstream:linux
ref: 5f06398ae6a04f414932243de38b5cf3d264ff84
unpetrify-ref: baserock/apm-xgene-m400-moonshot-cartridge
diff --git a/strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph b/strata/bsp-armv8l64-generic/linux-armv8l64-generic.morph
index 120239b9..4eb92de4 100644
--- a/strata/bsp-armv8l64-generic/bsp-armv8l64-generic.morph
+++ b/strata/bsp-armv8l64-generic/linux-armv8l64-generic.morph
@@ -102,3 +102,4 @@ build-commands:
install-commands:
- mkdir -p "$DESTDIR"/boot
- make install dtbs_install INSTALL_PATH="$DESTDIR/boot"
+- cp arch/arm64/boot/Image "$DESTDIR/boot/vmlinux"
diff --git a/strata/cross-bootstrap.morph b/strata/cross-bootstrap.morph
index be4f4db8..3aa61caf 100644
--- a/strata/cross-bootstrap.morph
+++ b/strata/cross-bootstrap.morph
@@ -18,64 +18,11 @@ chunks:
unpetrify-ref: baserock/morph
build-depends:
- groff
-- name: python-ttystatus
- morph: strata/cross-bootstrap/python-ttystatus.morph
- repo: upstream:python-ttystatus
- ref: 47d871216cea6ce3b9d6efd70e9a0f38ab8604f0
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: python-coveragepy
- morph: strata/cross-bootstrap/python-coveragepy.morph
- repo: upstream:python-coveragepy
- ref: 77d2e3bfd8fb325092aaed37ba1378054d182d19
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: python-coverage-test-runner
- repo: upstream:python-coverage-test-runner
- ref: 8ea9421ac3384b2e88e0c36f2cfa52586c4798b7
- unpetrify-ref: baserock/morph
- build-depends:
- - python-coveragepy
-- name: cliapp
- repo: upstream:cliapp
- ref: cec20cedd062a3aef1b04f997e77b45090c07806
- unpetrify-ref: baserock/morph
- build-depends:
- - python-coverage-test-runner
-- name: python-markdown
- repo: upstream:python-markdown
- ref: a9ca97325e9039de90eae29fb3d8879bc9f367f6
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: cmdtest
- morph: strata/cross-bootstrap/cmdtest.morph
- repo: upstream:cmdtest
- ref: ac91791842c6e7e6eda3213916af413255999c7b
- unpetrify-ref: baserock/morph
- build-depends:
- - cliapp
- - python-ttystatus
- - python-markdown
- name: linux-user-chroot
repo: upstream:linux-user-chroot
ref: d25cc110f69e6e71a95b4ac532dcfc5423d4a16b
unpetrify-ref: baserock/morph
build-depends: []
-- name: pyfilesystem
- morph: strata/cross-bootstrap/pyfilesystem.morph
- repo: upstream:pyfilesystem
- ref: 821f7db1ce3a3e1ac53fa514ddacbc2871eac0f6
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: morph
- repo: baserock:baserock/morph
- ref: 954baf68b9bb7f8bc4fae2447ef16f37928ff01c
- unpetrify-ref: master
- build-depends:
- - cliapp
- - cmdtest
- - python-coverage-test-runner
- - pyfilesystem
- name: rsync
morph: strata/cross-bootstrap/rsync.morph
repo: upstream:rsync
diff --git a/strata/cross-bootstrap/cmdtest.morph b/strata/cross-bootstrap/cmdtest.morph
deleted file mode 100644
index 3e1c71c6..00000000
--- a/strata/cross-bootstrap/cmdtest.morph
+++ /dev/null
@@ -1,6 +0,0 @@
-name: cmdtest
-kind: chunk
-build-commands:
-- python setup.py build
-install-commands:
-- python setup.py install --prefix=/usr --root "$DESTDIR"
diff --git a/strata/cross-bootstrap/pyfilesystem.morph b/strata/cross-bootstrap/pyfilesystem.morph
deleted file mode 100644
index a4931dfa..00000000
--- a/strata/cross-bootstrap/pyfilesystem.morph
+++ /dev/null
@@ -1,6 +0,0 @@
-name: pyfilesystem
-kind: chunk
-build-commands:
-- python setup.py build
-install-commands:
-- python setup.py install --prefix="$PREFIX" --root "$DESTDIR"
diff --git a/strata/cross-bootstrap/python-coveragepy.morph b/strata/cross-bootstrap/python-coveragepy.morph
deleted file mode 100644
index ed5e3d87..00000000
--- a/strata/cross-bootstrap/python-coveragepy.morph
+++ /dev/null
@@ -1,6 +0,0 @@
-name: python-coveragepy
-kind: chunk
-build-commands:
-- python setup.py build
-install-commands:
-- python setup.py install --prefix=/usr --root "$DESTDIR"
diff --git a/strata/cross-bootstrap/python-ttystatus.morph b/strata/cross-bootstrap/python-ttystatus.morph
deleted file mode 100644
index e45ef7a8..00000000
--- a/strata/cross-bootstrap/python-ttystatus.morph
+++ /dev/null
@@ -1,6 +0,0 @@
-name: python-ttystatus
-kind: chunk
-build-commands:
-- python setup.py build
-install-commands:
-- python setup.py install --prefix=/usr --root "$DESTDIR"
diff --git a/strata/databases/memcached.morph b/strata/databases/memcached.morph
index 28e01362..5d55b727 100644
--- a/strata/databases/memcached.morph
+++ b/strata/databases/memcached.morph
@@ -6,3 +6,16 @@ configure-commands:
- touch README
- autoreconf -fvi
- ./configure --prefix="$PREFIX"
+install-commands:
+- make install
+- install -D -m 755 scripts/memcached.service "$DESTDIR"/etc/systemd/system/memcached.service
+post-install-commands:
+- mkdir -p "$DESTDIR"/etc/sysconfig
+- |
+ cat <<EOF > "$DESTDIR"/etc/sysconfig/memcached
+ PORT="11211"
+ USER="nobody"
+ MAXCONN="1024"
+ CACHESIZE="64"
+ OPTIONS=""
+ EOF
diff --git a/strata/python-common.morph b/strata/python-common.morph
index 5536e13c..e2f4b32a 100644
--- a/strata/python-common.morph
+++ b/strata/python-common.morph
@@ -5,7 +5,7 @@ build-depends:
- morph: strata/python-core.morph
chunks:
- name: pycrypto
- morph: strata/openstack-services/pycrypto.morph
+ morph: strata/python-common/pycrypto.morph
repo: upstream:python-packages/pycrypto
ref: af058ee6f5da391a05275470ab4a4a96aa22b350
unpetrify-ref: v2.7a1
diff --git a/strata/python-common/pycrypto.morph b/strata/python-common/pycrypto.morph
new file mode 100644
index 00000000..51cc00f0
--- /dev/null
+++ b/strata/python-common/pycrypto.morph
@@ -0,0 +1,3 @@
+name: pycrypto
+kind: chunk
+build-system: python-distutils
diff --git a/strata/tools/rsync.morph b/strata/tools/rsync.morph
index 9a92878d..7b99bdd9 100644
--- a/strata/tools/rsync.morph
+++ b/strata/tools/rsync.morph
@@ -4,3 +4,6 @@ build-system: autotools
build-commands:
- make proto
- make
+install-commands:
+- make install
+- install -D -m 755 packaging/systemd/rsync.service "$DESTDIR"/etc/systemd/system/rsync.service