diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-08-13 21:45:15 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-08-13 21:52:41 +0000 |
commit | 5c261eee00014199eb3d942758598041473f1ddd (patch) | |
tree | 4be8f6fa931142aad3383d53186fb9e84ca218eb | |
parent | 045e89c396aa14218422cef507c2afedcae3dc6b (diff) | |
download | definitions-baserock/franred/organize-morphologies-script.tar.gz |
Organize definitions directory by morphologiesbaserock/franred/organize-morphologies-script
This is the result to run organize-morphologies.py .
The morphologies are clasified in clusters, systems, strata and chunks.
- "clusters" contains all the cluster morphologies.
- "systems" contains all the systems morphologies.
- "strata" contains all the stratum morphologies and the chunks
morphologies which are inside of their stratum morphology folder,
if this chunks will not be autodetected on build time.
402 files changed, 8609 insertions, 844 deletions
diff --git a/ci.morph b/clusters/ci.morph index 6d8db8ce..1261a06a 100644 --- a/ci.morph +++ b/clusters/ci.morph @@ -6,7 +6,8 @@ description: | This cluster morph is for use by the Mason Continuous Delivery pipeline during development. systems: -- morph: devel-system-x86_64-generic +- morph: systems/devel-system-x86_64-generic.morph + deploy-defaults: {} deploy: devel-system-x86_64-generic: type: rawdisk diff --git a/example-distbuild-cluster.morph b/clusters/example-distbuild-cluster.morph index 736a5beb..4c97d21f 100644 --- a/example-distbuild-cluster.morph +++ b/clusters/example-distbuild-cluster.morph @@ -10,21 +10,21 @@ description: | workers to authenticate with the Trove to give them read access to all source repositories. systems: -- morph: distbuild-system-x86_64-generic +- morph: systems/distbuild-system-x86_64-generic.morph deploy-defaults: - TROVE_ID: $MY_TROVE CONTROLLERHOST: build-controller - DISTBUILD_CONTROLLER: no - DISTBUILD_WORKER: yes + DISTBUILD_CONTROLLER: false + DISTBUILD_WORKER: true FSTAB_SRC: LABEL=src /srv/distbuild auto defaults,rw,noatime 0 2 INSTALL_FILES: distbuild/manifest - NFSBOOT_CONFIGURE: yes + NFSBOOT_CONFIGURE: true + TROVE_ID: $MY_TROVE WORKER_SSH_KEY: ssh-keys/worker.key deploy: build-controller: type: nfsboot location: $MY_TROVE - DISTBUILD_CONTROLLER: yes + DISTBUILD_CONTROLLER: true HOSTNAME: build-controller WORKERS: build-node-1, build-node-2 build-node-1: diff --git a/gitlab-ci-runner-cluster.morph b/clusters/gitlab-ci-runner-cluster.morph index fe6e3451..4442033c 100644 --- a/gitlab-ci-runner-cluster.morph +++ b/clusters/gitlab-ci-runner-cluster.morph @@ -1,13 +1,14 @@ -kind: cluster name: gitlab-ci-runner-cluster +kind: cluster +description: '' systems: -- morph: gitlab-ci-runner +- morph: systems/gitlab-ci-runner.morph deploy-defaults: - AUTOSTART: no - DISK_SIZE: 6G - RAM_SIZE: 3G - VCPUS: 2 - VERSION_LABEL: factory + AUTOSTART: false + DISK_SIZE: 6G + RAM_SIZE: 3G + VCPUS: 2 + VERSION_LABEL: factory deploy: gitlab-ci-runner: type: kvm diff --git a/gitlab-cluster.morph b/clusters/gitlab-cluster.morph index d40bf8f8..5f3177ca 100644 --- a/gitlab-cluster.morph +++ b/clusters/gitlab-cluster.morph @@ -1,5 +1,5 @@ -kind: cluster name: gitlab-cluster +kind: cluster description: | This is an example cluster morphology that can be adapted to set up a GitLab server with GitLab CI running alongside it, along with one or more CI @@ -14,32 +14,32 @@ description: | need to define a GITLAB_EMAIL, that is the email that mail from your GitLab instance will appear to be from. systems: -- morph: gitlab-server +- morph: systems/gitlab-server.morph deploy-defaults: - AUTOSTART: no - DISK_SIZE: 10G - RAM_SIZE: 2G - VCPUS: 2 - VERSION_LABEL: factory + AUTOSTART: false + DISK_SIZE: 10G + RAM_SIZE: 2G + VCPUS: 2 + VERSION_LABEL: factory deploy: gitlab: type: kvm location: kvm+ssh://USER@HOST/gitlab/home/USER/gitlab.img - HOSTNAME: gitlab + CI_PORT: 81 + GITLAB_EMAIL: gitlab@gitlab.example.com GITLAB_HOSTNAME: gitlab.example.com GITLAB_PORT: 80 - GITLAB_EMAIL: gitlab@gitlab.example.com - UNICORN_PORT: 8080 - CI_PORT: 81 - UNICORN_CI_PORT: 8081 + HOSTNAME: gitlab INSTALL_FILES: gitlab-server/manifest -- morph: gitlab-ci-runner + UNICORN_CI_PORT: 8081 + UNICORN_PORT: 8080 +- morph: systems/gitlab-ci-runner.morph deploy-defaults: - AUTOSTART: no - DISK_SIZE: 10G - RAM_SIZE: 3G - VCPUS: 2 - VERSION_LABEL: factory + AUTOSTART: false + DISK_SIZE: 10G + RAM_SIZE: 3G + VCPUS: 2 + VERSION_LABEL: factory deploy: gitlab-ci-runner: type: kvm diff --git a/gitlab-server-cluster.morph b/clusters/gitlab-server-cluster.morph index 09ff4869..66caef4c 100644 --- a/gitlab-server-cluster.morph +++ b/clusters/gitlab-server-cluster.morph @@ -1,22 +1,23 @@ -kind: cluster name: gitlab-server-cluster +kind: cluster +description: '' systems: -- morph: gitlab-server +- morph: systems/gitlab-server.morph deploy-defaults: - AUTOSTART: no - DISK_SIZE: 6G - RAM_SIZE: 2G - VCPUS: 2 - VERSION_LABEL: factory + AUTOSTART: false + DISK_SIZE: 6G + RAM_SIZE: 2G + VCPUS: 2 + VERSION_LABEL: factory deploy: gitlab: type: kvm location: kvm+ssh://USER@HOST/gitlab/home/USER/gitlab.img - HOSTNAME: gitlab + CI_PORT: 81 + GITLAB_EMAIL: gitlab@gitlab.example.com GITLAB_HOSTNAME: gitlab.example.com GITLAB_PORT: 80 - GITLAB_EMAIL: gitlab@gitlab.example.com - UNICORN_PORT: 8080 - CI_PORT: 81 - UNICORN_CI_PORT: 8081 + HOSTNAME: gitlab INSTALL_FILES: gitlab-server/manifest + UNICORN_CI_PORT: 8081 + UNICORN_PORT: 8080 diff --git a/clusters/image-package-example.morph b/clusters/image-package-example.morph new file mode 100644 index 00000000..158eb64b --- /dev/null +++ b/clusters/image-package-example.morph @@ -0,0 +1,13 @@ +name: image-package-example +kind: cluster +description: | + Packaged system and script for installing it, for deferred instantiation. +systems: +- morph: systems/base-system-x86_32-generic.morph + deploy-defaults: {} + deploy: + imgpkg: + type: image-package + location: image-package-example.tar + BOOTLOADER_BLOBS: /usr/share/syslinux/mbr.bin + INCLUDE_SCRIPTS: image-package-example/make-disk-image.sh.in:image-package-example/disk-install.sh.in:image-package-example/common.sh.in diff --git a/initramfs-test.morph b/clusters/initramfs-test.morph index 9e69207d..eafea38c 100644 --- a/initramfs-test.morph +++ b/clusters/initramfs-test.morph @@ -1,7 +1,9 @@ name: initramfs-test kind: cluster +description: '' systems: -- morph: base-system-x86_64-generic +- morph: systems/base-system-x86_64-generic.morph + deploy-defaults: {} deploy: system: type: rawdisk diff --git a/mason.morph b/clusters/mason.morph index d6052146..a62292bd 100644 --- a/mason.morph +++ b/clusters/mason.morph @@ -8,51 +8,51 @@ description: | template to suit your needs. It also handles the generation of keys to let the systems communicate. systems: -- morph: trove-system-x86_64 +- morph: systems/trove-system-x86_64.morph + deploy-defaults: {} deploy: red-box-v1-trove: type: kvm location: kvm+ssh://vm-user@vm-host/red-box-v1-trove/vm-path/red-box-v1-trove.img - VERSION_LABEL: 45 + AUTOSTART: true DISK_SIZE: 100G - RAM_SIZE: 8G - VCPUS: 2 HOSTNAME: red-box-v1-trove - TROVE_ID: red-box-v1-trove - TROVE_HOST: red-box-v1 - TROVE_COMPANY: Company name goes here LORRY_SSH_KEY: ssh_keys/lorry.key - UPSTREAM_TROVE: upstream-trove - UPSTREAM_TROVE_PROTOCOL: http - TROVE_ADMIN_USER: adminuser + MASON_SSH_PUBKEY: ssh_keys/mason.key.pub + RAM_SIZE: 8G TROVE_ADMIN_EMAIL: adminuser@example.com TROVE_ADMIN_NAME: Nobody TROVE_ADMIN_SSH_PUBKEY: ssh_keys/id_rsa.pub + TROVE_ADMIN_USER: adminuser + TROVE_COMPANY: Company name goes here + TROVE_HOST: red-box-v1 + TROVE_ID: red-box-v1-trove + UPSTREAM_TROVE: upstream-trove + UPSTREAM_TROVE_PROTOCOL: http + VCPUS: 2 + VERSION_LABEL: 45 WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub - MASON_SSH_PUBKEY: ssh_keys/mason.key.pub - AUTOSTART: yes -- morph: distbuild-system-x86_64 +- morph: systems/distbuild-system-x86_64.morph deploy-defaults: - TROVE_ID: red-box-v1-trove - TROVE_HOST: red-box-v1-trove.example.com CONTROLLERHOST: red-box-v1-controller - DISTBUILD_CONTROLLER: no - DISTBUILD_WORKER: yes - VCPUS: 2 - RAM_SIZE: 8G - #FSTAB_SRC: LABEL=src /srv/distbuild auto defaults,rw,noatime 0 2 + DISTBUILD_CONTROLLER: false + DISTBUILD_WORKER: true INSTALL_FILES: distbuild/manifest + RAM_SIZE: 8G + TROVE_HOST: red-box-v1-trove.example.com + TROVE_ID: red-box-v1-trove + VCPUS: 2 WORKER_SSH_KEY: ssh_keys/worker.key deploy: red-box-v1-controller: type: kvm location: kvm+ssh://vm-user@vm-host/red-box-v1-controller/vm-path/red-box-v1-controller.img DISK_SIZE: 60G - DISTBUILD_CONTROLLER: yes + DISTBUILD_CONTROLLER: true HOSTNAME: red-box-v1-controller - WORKERS: red-box-v1-controller MASON_CLUSTER_MORPHOLOGY: ci.morph MASON_DEFINITIONS_REF: master MASON_DISTBUILD_ARCH: x86_64 - MASON_UPSTREAM_TROVE_ADDRESS: upstream-trove MASON_TEST_HOST: vm-user@vm-host:/vm-path/ + MASON_UPSTREAM_TROVE_ADDRESS: upstream-trove + WORKERS: red-box-v1-controller diff --git a/minimal-system-deploy.morph b/clusters/minimal-system-deploy.morph index f6213c39..37dc2a35 100644 --- a/minimal-system-deploy.morph +++ b/clusters/minimal-system-deploy.morph @@ -3,12 +3,13 @@ kind: cluster description: | Deploy a minimal system to a system running KVM systems: -- morph: minimal-system-x86_32-generic +- morph: systems/minimal-system-x86_32-generic.morph + deploy-defaults: {} deploy: vm: type: kvm location: kvm+ssh://192.168.122.1/tiny-x86_32/srv/VMs/tiny-x86_32.img - HOSTNAME: tiny-x86_32 DISK_SIZE: 512M - RAM_SIZE: 512M + HOSTNAME: tiny-x86_32 INIT_SYSTEM: busybox + RAM_SIZE: 512M diff --git a/release.morph b/clusters/release.morph index 12b03693..2ac0c62e 100644 --- a/release.morph +++ b/clusters/release.morph @@ -7,41 +7,48 @@ description: | you can deploy the systems yourself, if you are making a Baserock release then the script should be used. systems: -- morph: devel-system-x86_32-chroot +- morph: systems/devel-system-x86_32-chroot.morph + deploy-defaults: {} deploy: devel-system-x86_32-chroot: type: tar location: devel-system-x86_32-chroot.tar -- morph: devel-system-x86_32-generic +- morph: systems/devel-system-x86_32-generic.morph + deploy-defaults: {} deploy: devel-system-x86_32-generic: type: rawdisk location: devel-system-x86_32-generic.img DISK_SIZE: 4G -- morph: devel-system-x86_64-chroot +- morph: systems/devel-system-x86_64-chroot.morph + deploy-defaults: {} deploy: devel-system-x86_64-chroot: type: tar location: devel-system-x86_64-chroot.tar -- morph: devel-system-x86_64-generic +- morph: systems/devel-system-x86_64-generic.morph + deploy-defaults: {} deploy: devel-system-x86_64-generic: type: rawdisk location: devel-system-x86_64-generic.img DISK_SIZE: 4G -- morph: devel-system-armv7lhf-wandboard +- morph: systems/devel-system-armv7lhf-wandboard.morph + deploy-defaults: {} deploy: release: type: tar location: devel-system-armv7lhf-wandboard.tar -- morph: genivi-baseline-system-x86_64-generic +- morph: systems/genivi-baseline-system-x86_64-generic.morph + deploy-defaults: {} deploy: genivi-baseline-system-x86_64-generic: type: rawdisk location: genivi-baseline-system-x86_64-generic.img DISK_SIZE: 4G KERNEL_ARGS: vga=788 -- morph: genivi-baseline-system-armv7lhf-versatile +- morph: systems/genivi-baseline-system-armv7lhf-versatile.morph + deploy-defaults: {} deploy: genivi-baseline-system-armv7lhf-versatile: type: rawdisk diff --git a/sdk-example-cluster.morph b/clusters/sdk-example-cluster.morph index da0a6fff..17d7a7f9 100644 --- a/sdk-example-cluster.morph +++ b/clusters/sdk-example-cluster.morph @@ -31,7 +31,8 @@ description: | See the documentation of the sdk.write extension for more information. systems: -- morph: armv7lhf-cross-toolchain-system-x86_32-generic +- morph: systems/armv7lhf-cross-toolchain-system-x86_32-generic.morph + deploy-defaults: {} deploy: sdk: type: sdk diff --git a/trove.baserock.org-upgrade.morph b/clusters/trove.baserock.org-upgrade.morph index 359bb3c2..beeb2c1e 100644 --- a/trove.baserock.org-upgrade.morph +++ b/clusters/trove.baserock.org-upgrade.morph @@ -1,5 +1,5 @@ -kind: cluster name: trove.baserock.org-upgrade +kind: cluster description: | This is a cluster morphology for deploying an UPGRADE to git.baserock.org. It doesn't work for the initial deployment. The @@ -10,14 +10,15 @@ description: | Replace the value of gbo.VERSION_LABEL above with the current date. You can add letters if you need to upgrade multiple times in a day. systems: -- morph: trove-system-x86_64 +- morph: systems/trove-system-x86_64.morph + deploy-defaults: {} deploy: gbo: type: ssh-rsync location: root@git.baserock.org - LORRY_CONTROLLER_MINIONS: 4 - HOSTNAME: firehose1 FSTAB_HOME: LABEL=homes /home auto defaults,noatime,rw 0 2 - TROVE_ID: baserock - TROVE_HOSTNAME: git.baserock.org + HOSTNAME: firehose1 + LORRY_CONTROLLER_MINIONS: 4 TROVE_COMPANY: Baserock + TROVE_HOSTNAME: git.baserock.org + TROVE_ID: baserock diff --git a/upgrade-devel.morph b/clusters/upgrade-devel.morph index 408dfd01..8f24349e 100644 --- a/upgrade-devel.morph +++ b/clusters/upgrade-devel.morph @@ -32,7 +32,8 @@ description: | On a base system, use 'diff -r' instead of 'git diff --no-index'. It will not be as colourful. systems: -- morph: devel-system-x86_64-generic +- morph: systems/devel-system-x86_64-generic.morph + deploy-defaults: {} deploy: self: type: ssh-rsync diff --git a/devel-system-x86_64-vagrant.morph b/devel-system-x86_64-vagrant.morph deleted file mode 100644 index ccd6164f..00000000 --- a/devel-system-x86_64-vagrant.morph +++ /dev/null @@ -1,29 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -- vagrant -description: A system that is able to build other systems based on the 64-bit x86 - architecture. This adds the virtualbox guest additions and vagrant configuration too -kind: system -name: devel-system-x86_64-vagrant -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: bsp-x86_64-generic -- morph: connectivity -- morph: audio-bluetooth -- morph: x-common -- morph: x-generic -- morph: multimedia -- morph: genivi -- morph: genivi-x-generic -- morph: tools -- morph: virtualization -- morph: openstack-clients -- morph: virtualbox-guest-x86_64 diff --git a/genivi-baseline-system-armv7lhf-versatile.morph b/genivi-baseline-system-armv7lhf-versatile.morph deleted file mode 100644 index 31185c94..00000000 --- a/genivi-baseline-system-armv7lhf-versatile.morph +++ /dev/null @@ -1,24 +0,0 @@ -arch: armv7lhf -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -- strip-gplv3 -- fstab -description: A GENIVI baseline system for an ARMv7 system. -kind: system -name: genivi-baseline-system-armv7lhf-versatile -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: bsp-armv7-versatile -- morph: connectivity -- morph: audio-bluetooth -- morph: x-common -- morph: multimedia -- morph: genivi -- morph: wayland-armv7-versatile diff --git a/genivi-baseline-system-x86_64-generic.morph b/genivi-baseline-system-x86_64-generic.morph deleted file mode 100644 index 7b08a895..00000000 --- a/genivi-baseline-system-x86_64-generic.morph +++ /dev/null @@ -1,23 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -- strip-gplv3 -description: A GENIVI baseline system for a 64-bit x86 system. -kind: system -name: genivi-baseline-system-x86_64-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: bsp-x86_64-generic -- morph: connectivity -- morph: audio-bluetooth -- morph: x-common -- morph: multimedia -- morph: genivi -- morph: wayland-x86_64-generic diff --git a/gitlab-ci-runner.morph b/gitlab-ci-runner.morph deleted file mode 100644 index 5399307a..00000000 --- a/gitlab-ci-runner.morph +++ /dev/null @@ -1,31 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -description: A system to run build tests as part of GitLab CI - architecture. -kind: system -name: gitlab-ci-runner -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: bsp-x86_64-generic -- morph: connectivity -- morph: audio-bluetooth -- morph: x-common -- morph: x-generic -- morph: multimedia -- morph: genivi -- morph: genivi-x-generic -- morph: tools -- morph: virtualization -- morph: openstack-clients -- morph: databases -- morph: webtools -- morph: ruby -- morph: nfs diff --git a/gitlab-server.morph b/gitlab-server.morph deleted file mode 100644 index 8dc9f3cf..00000000 --- a/gitlab-server.morph +++ /dev/null @@ -1,23 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -- gitlab -- fstab -description: system which hosts a gitlab server -kind: system -name: gitlab-server -strata: -- morph: build-essential -- morph: bsp-x86_64-generic -- morph: foundation -- morph: core -- morph: tools -- morph: nfs -- morph: databases -- morph: webtools -- morph: ruby -- morph: gitlab diff --git a/image-package-example.morph b/image-package-example.morph deleted file mode 100644 index eeb5b3f2..00000000 --- a/image-package-example.morph +++ /dev/null @@ -1,12 +0,0 @@ -name: image-package-example -kind: cluster -description: | - Packaged system and script for installing it, for deferred instantiation. -systems: -- morph: base-system-x86_32-generic - deploy: - imgpkg: - type: image-package - location: image-package-example.tar - BOOTLOADER_BLOBS: "/usr/share/syslinux/mbr.bin" - INCLUDE_SCRIPTS: "image-package-example/make-disk-image.sh.in:image-package-example/disk-install.sh.in:image-package-example/common.sh.in" diff --git a/nodejs-system-x86_64.morph b/nodejs-system-x86_64.morph deleted file mode 100644 index ade66f7e..00000000 --- a/nodejs-system-x86_64.morph +++ /dev/null @@ -1,28 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -kind: system -name: nodejs-system-x86_64 -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: bsp-x86_64-generic -- morph: connectivity -- morph: audio-bluetooth -- morph: x-common -- morph: x-generic -- morph: multimedia -- morph: genivi -- morph: genivi-x-generic -- morph: tools -- morph: virtualization -- morph: openstack-clients -- morph: nodejs diff --git a/qt4-devel-system-x86_64-generic.morph b/qt4-devel-system-x86_64-generic.morph deleted file mode 100644 index c62363e7..00000000 --- a/qt4-devel-system-x86_64-generic.morph +++ /dev/null @@ -1,26 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -kind: system -name: qt4-devel-system-x86_64-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: audio-bluetooth -- morph: multimedia-gstreamer-0.10 -- morph: bsp-x86_64-generic -- morph: tools -- morph: x-common -- morph: x-generic -- morph: qt4-tools -- morph: qt4-sdk -- morph: lua -- morph: connectivity -- morph: enlightenment diff --git a/qt5-devel-system-x86_64-generic.morph b/qt5-devel-system-x86_64-generic.morph deleted file mode 100644 index e7175718..00000000 --- a/qt5-devel-system-x86_64-generic.morph +++ /dev/null @@ -1,26 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -kind: system -name: qt5-devel-system-x86_64-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: audio-bluetooth -- morph: multimedia-gstreamer-0.10 -- morph: bsp-x86_64-generic -- morph: tools -- morph: x-common -- morph: x-generic -- morph: qt5-tools -- morph: qt5-sdk -- morph: lua -- morph: connectivity -- morph: enlightenment diff --git a/ansible.morph b/strata/ansible.morph index 00f04750..f8f88f3a 100644 --- a/ansible.morph +++ b/strata/ansible.morph @@ -2,7 +2,8 @@ name: ansible kind: stratum description: A stratum with ansible and its dependencies build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: paramiko repo: upstream:paramiko @@ -21,6 +22,7 @@ chunks: build-depends: - markupsafe - name: ansible + morph: strata/ansible/ansible.morph repo: upstream:ansible ref: aa56db7e28d4fe256471043b05120c2f41a840e5 unpetrify-ref: baserock/morph diff --git a/strata/ansible/ansible.morph b/strata/ansible/ansible.morph new file mode 100644 index 00000000..5feaf9a5 --- /dev/null +++ b/strata/ansible/ansible.morph @@ -0,0 +1,21 @@ +name: ansible +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: python-distutils +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: +- install -D -m644 ansible.cfg "$DESTDIR/etc/ansible/ansible.cfg" +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/armv7lhf-cross-toolchain.morph b/strata/armv7lhf-cross-toolchain.morph index 37553c6c..355f460d 100644 --- a/armv7lhf-cross-toolchain.morph +++ b/strata/armv7lhf-cross-toolchain.morph @@ -2,25 +2,30 @@ name: armv7lhf-cross-toolchain kind: stratum description: Stratum for building an armv7lhf cross compiler for your native system. build-depends: -- morph: build-essential +- morph: strata/build-essential.morph +products: [] chunks: - name: armv7lhf-cross-binutils + morph: strata/armv7lhf-cross-toolchain/armv7lhf-cross-binutils.morph repo: upstream:binutils-redhat ref: 987eb543a034cddc4eeb103f08f566f24a5f964a unpetrify-ref: baserock/build-essential build-depends: [] - name: armv7lhf-cross-linux-api-headers + morph: strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph repo: upstream:linux ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8 unpetrify-ref: baserock/build-essential build-depends: [] - name: armv7lhf-cross-gcc-nolibc + morph: strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph repo: upstream:gcc-tarball ref: 0a1a077d3466cd99a4ed5590db2146b3fec6fff1 unpetrify-ref: baserock/build-essential build-depends: - armv7lhf-cross-binutils - name: armv7lhf-cross-eglibc + morph: strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph repo: upstream:eglibc2 ref: 43ee5d250ad47d2bee8ec17954efb7f22d2b804c unpetrify-ref: baserock/2.15-build-essential @@ -29,6 +34,7 @@ chunks: - armv7lhf-cross-gcc-nolibc - armv7lhf-cross-linux-api-headers - name: armv7lhf-cross-gcc + morph: strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph repo: upstream:gcc-tarball ref: b0254026149b13782eae26d38435a4c62a002cf0 unpetrify-ref: baserock/build-essential-4.7 diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-binutils.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-binutils.morph new file mode 100644 index 00000000..fa876c98 --- /dev/null +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-binutils.morph @@ -0,0 +1,39 @@ +name: armv7lhf-cross-binutils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- | + # The TARGET used is the final triplet we expect, rather than that + # of the libc-less GCC we build, since the binutils only needs to + # be built once. + # This requires extra effort to get the stage 1 GCC to use these + # tools, but saves having an extra binutils build. + export TARGET=armv7lhf-baserock-linux-gnueabi + + # 1. Binutils gets installed in the default sysroot path of + # $PREFIX/$TARGET/{bin,lib}, with the actual sysroot at + # $PREFIX/$TARGET/sys-root and its tools also available as + # $PREFIX/bin/$TARGET-$tool + # 2. The '=' makes the path we give relative to the sysroot. + ./configure --prefix="$PREFIX" --disable-nls --disable-werror \ + --build=$(sh config.guess) \ + --host=$(sh config.guess) \ + --target="$TARGET" \ + `# [1]` --with-sysroot \ + `# [2]` --with-lib-path="=$PREFIX/lib" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph new file mode 100644 index 00000000..5885b4c3 --- /dev/null +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph @@ -0,0 +1,48 @@ +name: armv7lhf-cross-eglibc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- cd libc && ln -s ../ports ports +- | + export MORPH_ARCH=armv7lhf + export TARGET=armv7lhf-baserock-linux-gnueabi + export TARGET_STAGE1=armv7lhf-none-linux-gnueabi + export CFLAGS="-O2 $CFLAGS" + # eglibc looks for $TARGET-gcc, but not $TARGET_STAGE1-gcc even + # though --build is specified, so we have to override what gcc to + # use here. + export CC="$TARGET_STAGE1-gcc" + cd o && ../libc/configure \ + $(../morph-arch-config) \ + --build=$TARGET_STAGE1 --host=$TARGET \ + --prefix="$PREFIX" \ + `# [1]` --with-headers="$PREFIX/$TARGET/sys-root/$PREFIX/include" \ + `# [2]` --with-binutils="$PREFIX/$TARGET/bin" \ + `# [3]` --disable-profile --enable-kernel=2.6.25 \ + --enable-add-ons=nptl,ports --without-cvs --without-selinux \ + `# [4]` libc_cv_c_cleanup=yes libc_cv_ctors_header=yes \ + libc_cv_forced_unwind=yes libc_cv_ssp=no +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd o && make localtime=UTC +post-build-commands: [] +pre-install-commands: [] +install-commands: +- | + # eglibc doesn't help with sysroots, so we need to spell out the + # full path ourselves. + export TARGET=armv7lhf-baserock-linux-gnueabi + cd o && make install_root="$DESTDIR/$PREFIX/$TARGET/sys-root/" \ + localtime=UTC install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph new file mode 100644 index 00000000..6fa4e528 --- /dev/null +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph @@ -0,0 +1,50 @@ +name: armv7lhf-cross-gcc-nolibc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- | + export MORPH_ARCH=armv7lhf + export TARGET=armv7lhf-baserock-linux-gnueabi + export TARGET_STAGE1=armv7lhf-none-linux-gnueabi + cd o && + ../configure \ + $(../morph-arch-config) \ + --build=$(sh ../config.guess) --host=$(sh ../config.guess) \ + --target="$TARGET_STAGE1" \ + --prefix="$PREFIX" \ + --disable-bootstrap --disable-nls \ + `# [1]` --libdir="$PREFIX/lib" --disable-multilib --disable-libgomp \ + --without-cloog --without-ppl \ + --with-mpfr-include="$(pwd)/../mpfr/src" \ + --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \ + `# [2]` --with-build-time-tools="$PREFIX/$TARGET/bin" \ + --with-as="$PREFIX/$TARGET/bin/as" \ + --with-ld="$PREFIX/$TARGET/bin/ld" \ + `# [3]` --enable-languages=c --disable-decimal-float \ + --disable-libmudflap --disable-libquadmath --disable-libssp \ + --disable-shared --disable-threads --disable-target-libiberty \ + --disable-target-zlib --without-headers --with-newlib \ + --with-system-zlib +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd o && make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd o && make DESTDIR="$DESTDIR" install +- | + export TARGET_STAGE1=armv7lhf-none-linux-gnueabi + libgcc_filename="$("$DESTDIR$PREFIX/bin/$TARGET_STAGE1-gcc" -print-libgcc-file-name)" + ln -sv libgcc.a "$(echo "$libgcc_filename" | sed 's/libgcc/&_eh/')" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph new file mode 100644 index 00000000..29f0bd33 --- /dev/null +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph @@ -0,0 +1,50 @@ +name: armv7lhf-cross-gcc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- | + export MORPH_ARCH=armv7lhf + export TARGET=armv7lhf-baserock-linux-gnueabi + export TARGET_STAGE1=armv7lhf-none-linux-gnueabi + cd o && ../configure \ + $(../morph-arch-config) \ + --build=$(sh ../config.guess) \ + --host=$(sh ../config.guess) \ + --target="$TARGET" \ + `# [1]` --with-sysroot \ + --prefix="$PREFIX" \ + --disable-bootstrap \ + --enable-shared --enable-threads=posix \ + `# [2]` --enable-__cxa_atexit \ + --enable-languages=c,c++,fortran \ + `# [3]` --libdir="$PREFIX/lib" \ + --disable-libgomp --disable-multilib \ + --without-cloog --without-ppl \ + --with-mpfr-include="$(pwd)/../mpfr/src" \ + --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \ + `# [4]` --with-system-zlib +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd o && make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd o && make DESTDIR="$DESTDIR" install +- | + export TARGET=armv7lhf-baserock-linux-gnueabi + for fortran_alias in f77 f90 f95; do + ln -s "$TARGET-gfortran" \ + "$DESTDIR/$PREFIX/bin/$TARGET-$fortran_alias" + done +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph new file mode 100644 index 00000000..1311c453 --- /dev/null +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph @@ -0,0 +1,28 @@ +name: armv7lhf-cross-linux-api-headers +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make mrproper +- ARCH=arm make INSTALL_HDR_PATH=dest headers_install +- | + # Copy headers to the sysroot where the eglibc build will find them, + # and install its own headers and libraries. + export TARGET=armv7lhf-baserock-linux-gnueabi + install -d "$DESTDIR$PREFIX/$TARGET/sys-root/$PREFIX/include" + cp -r dest/include/* "$DESTDIR/$PREFIX/$TARGET/sys-root/$PREFIX/include" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/audio-bluetooth.morph b/strata/audio-bluetooth.morph index 6a8862b8..3bd0ee12 100644 --- a/audio-bluetooth.morph +++ b/strata/audio-bluetooth.morph @@ -2,7 +2,8 @@ name: audio-bluetooth kind: stratum description: Components required for audio and bluetooth. build-depends: -- morph: genivi-foundation +- morph: strata/genivi-foundation.morph +products: [] chunks: - name: libatomic_ops repo: upstream:libatomic_ops @@ -10,22 +11,26 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: alsa-lib + morph: strata/audio-bluetooth/alsa-lib.morph repo: upstream:alsa-lib ref: ab715503853be8d8f365fd157c3cb97ef7a89f7b unpetrify-ref: baserock/morph build-depends: [] - name: alsa-utils + morph: strata/audio-bluetooth/alsa-utils.morph repo: upstream:alsa-utils ref: f12208425051a7abf5ffc87ac2b9d2bd9e096fe1 unpetrify-ref: baserock/morph build-depends: - alsa-lib - name: libical + morph: strata/audio-bluetooth/libical.morph repo: upstream:libical ref: 52568782ae136e1ec4ddf3eb6da7b0f3fbd3f1b3 unpetrify-ref: baserock/morph build-depends: [] - name: bluez + morph: strata/audio-bluetooth/bluez.morph repo: upstream:bluez ref: a18201b5321e8b41d2ee7c7bc7285d976fc433e6 unpetrify-ref: baserock/v5.17-patched @@ -33,6 +38,7 @@ chunks: - libical - alsa-lib - name: bluez-tools + morph: strata/audio-bluetooth/bluez-tools.morph repo: upstream:bluez-tools ref: 7350787e96a6ecf2cc5d4afddb3321ccad9fa461 unpetrify-ref: baserock/morph @@ -50,6 +56,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: nohands + morph: strata/audio-bluetooth/nohands.morph repo: upstream:nohands ref: 20ec5cc245fd5e74d9a0fc21497d1ba4164f2a3a unpetrify-ref: baserock/morph @@ -62,6 +69,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: ofono + morph: strata/audio-bluetooth/ofono.morph repo: upstream:ofono ref: a53228f6b1b32d0405c0c3c8e0861d6202ffbba2 unpetrify-ref: baserock/morph @@ -69,16 +77,19 @@ chunks: - mobile-broadband-provider-info - bluez - name: json-c + morph: strata/audio-bluetooth/json-c.morph repo: upstream:json-c ref: 60a5f3dedc879db3e5dacdd3b7e3e543c2e1bae7 unpetrify-ref: baserock/morph build-depends: [] - name: libsndfile + morph: strata/audio-bluetooth/libsndfile.morph repo: upstream:libsndfile ref: 6c05c615c95ffef7a8a5a707cde0bb52bdd74244 unpetrify-ref: baserock/morph build-depends: [] - name: pulseaudio + morph: strata/audio-bluetooth/pulseaudio.morph repo: upstream:pulseaudio ref: e1b44688c0db505f70761fe76b4fed2ca6924a09 unpetrify-ref: baserock/morph diff --git a/strata/audio-bluetooth/alsa-lib.morph b/strata/audio-bluetooth/alsa-lib.morph new file mode 100644 index 00000000..84f7e97c --- /dev/null +++ b/strata/audio-bluetooth/alsa-lib.morph @@ -0,0 +1,20 @@ +name: alsa-lib +kind: chunk +description: ALSA library +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/alsa-utils.morph b/strata/audio-bluetooth/alsa-utils.morph new file mode 100644 index 00000000..5978a819 --- /dev/null +++ b/strata/audio-bluetooth/alsa-utils.morph @@ -0,0 +1,22 @@ +name: alsa-utils +kind: chunk +description: ALSA utilities +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ifv +- ./configure --prefix="$PREFIX" --disable-xmlto +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/bluez-tools.morph b/strata/audio-bluetooth/bluez-tools.morph new file mode 100644 index 00000000..2991d3fb --- /dev/null +++ b/strata/audio-bluetooth/bluez-tools.morph @@ -0,0 +1,24 @@ +name: bluez-tools +kind: chunk +description: A set of tools to manage Bluetooth devices for Linux +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- sed -i -e 's/-lreadline/-lreadline -lncurses/g' configure.ac +- ./autogen.sh +- ./configure --prefix="$PREFIX" --disable-obex +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- LDFLAGS="$LDFLAGS -lncurses" make +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/bluez.morph b/strata/audio-bluetooth/bluez.morph new file mode 100644 index 00000000..eeaddc1b --- /dev/null +++ b/strata/audio-bluetooth/bluez.morph @@ -0,0 +1,26 @@ +name: bluez +kind: chunk +description: Bluetooth protocol stack for Linux +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- ./configure --prefix="$PREFIX" --enable-tools --enable-test --enable-alsa --enable-library + --with-telephony=ofono --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +- mkdir -p "$DESTDIR/etc/systemd/system/bluetooth.target.wants" +- ln -s /lib/systemd/system/bluetooth.service "$DESTDIR/etc/systemd/system/bluetooth.target.wants/bluetooth.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/json-c.morph b/strata/audio-bluetooth/json-c.morph new file mode 100644 index 00000000..063ab0ea --- /dev/null +++ b/strata/audio-bluetooth/json-c.morph @@ -0,0 +1,22 @@ +name: json-c +kind: chunk +description: JSON C Library +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- install -m755 json_object_iterator.h "$DESTDIR/usr/include/json" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/libical.morph b/strata/audio-bluetooth/libical.morph new file mode 100644 index 00000000..5867e2c9 --- /dev/null +++ b/strata/audio-bluetooth/libical.morph @@ -0,0 +1,22 @@ +name: libical +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/libsndfile.morph b/strata/audio-bluetooth/libsndfile.morph new file mode 100644 index 00000000..aa855a7e --- /dev/null +++ b/strata/audio-bluetooth/libsndfile.morph @@ -0,0 +1,21 @@ +name: libsndfile +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --disable-external-libs +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/nohands.morph b/strata/audio-bluetooth/nohands.morph new file mode 100644 index 00000000..52028981 --- /dev/null +++ b/strata/audio-bluetooth/nohands.morph @@ -0,0 +1,21 @@ +name: nohands +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make CXXFLAGS="-fpermissive -lpthread" +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/ofono.morph b/strata/audio-bluetooth/ofono.morph new file mode 100644 index 00000000..afe22a38 --- /dev/null +++ b/strata/audio-bluetooth/ofono.morph @@ -0,0 +1,25 @@ +name: ofono +kind: chunk +description: ofono Open Source Telephony +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +- mkdir -p "$DESTDIR/etc/systemd/system/multi-user.target.wants" +- ln -s /lib/systemd/system/ofono.service "$DESTDIR/etc/systemd/system/multi-user.target.wants/ofono.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/audio-bluetooth/pulseaudio.morph b/strata/audio-bluetooth/pulseaudio.morph new file mode 100644 index 00000000..4775d535 --- /dev/null +++ b/strata/audio-bluetooth/pulseaudio.morph @@ -0,0 +1,27 @@ +name: pulseaudio +kind: chunk +description: PulseAudio System +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh +- ./configure --prefix="$PREFIX" --localstatedir=/var --sysconfdir=/etc --with-database=simple +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR/lib/systemd/system" +- install -m755 pulseaudio.service "$DESTDIR/lib/systemd/system" +- mkdir -p "$DESTDIR/etc/systemd/system/multi-user.target.wants" +- ln -s /lib/systemd/system/pulseaudio.service "$DESTDIR/etc/systemd/system/multi-user.target.wants/pulseaudio.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-armv7-highbank.morph b/strata/bsp-armv7-highbank.morph index 88922e27..6fe66c93 100644 --- a/bsp-armv7-highbank.morph +++ b/strata/bsp-armv7-highbank.morph @@ -2,9 +2,11 @@ name: bsp-armv7-highbank kind: stratum description: The platform dependent components required to boot an ARM highbank board. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: linux-armv7-highbank + morph: strata/bsp-armv7-highbank/linux-armv7-highbank.morph repo: upstream:linux ref: d67a0e110187abd560a1de63fa172894a52839d5 unpetrify-ref: baserock/morph diff --git a/strata/bsp-armv7-highbank/linux-armv7-highbank.morph b/strata/bsp-armv7-highbank/linux-armv7-highbank.morph new file mode 100644 index 00000000..9c22ec2a --- /dev/null +++ b/strata/bsp-armv7-highbank/linux-armv7-highbank.morph @@ -0,0 +1,60 @@ +name: linux-armv7-highbank +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make multi_v7_defconfig +- scripts/config -e AUTOFS4_FS +- scripts/config -e BLK_DEV_LOOP +- scripts/config -e CGROUPS +- scripts/config -e CONFIG_POSIX_MQUEUE +- scripts/config -e CPU_IDLE +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_USE_FOR_EXT23 +- scripts/config -e PACKET +- scripts/config -e UNIX +- scripts/config -e INET +- scripts/config -e IP_MULTICAST +- scripts/config -e IP_PNP +- scripts/config -e IP_PNP_DHCP +- scripts/config -e IP_PNP_BOOTP +- scripts/config -e MSDOS_FS +- scripts/config -e NETWORK_FILESYSTEMS +- scripts/config -e NET_KEY +- scripts/config -e NFS_FS +- scripts/config -e NFS_V3 +- scripts/config -e ROOT_NFS +- scripts/config -e LOCKD +- scripts/config -e LOCKD_V4 +- scripts/config -e NFS_COMMON +- scripts/config -e SUNRPC +- scripts/config -e SYSVIPC +- scripts/config -e BTRFS_FS +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e TMPFS +- scripts/config -e TMPFS_POSIX_ACL +- scripts/config -e VFAT_FS +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make zImage $MAKEFLAGS +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- cp arch/arm/boot/zImage "$DESTDIR"/boot/zImage +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-armv7-versatile.morph b/strata/bsp-armv7-versatile.morph index cc1298f1..268c4df0 100644 --- a/bsp-armv7-versatile.morph +++ b/strata/bsp-armv7-versatile.morph @@ -3,9 +3,11 @@ kind: stratum description: The platform dependent components required to boot an ARM versatile development board. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: linux-armv7-versatile + morph: strata/bsp-armv7-versatile/linux-armv7-versatile.morph repo: upstream:linux ref: d67a0e110187abd560a1de63fa172894a52839d5 unpetrify-ref: baserock/morph diff --git a/strata/bsp-armv7-versatile/linux-armv7-versatile.morph b/strata/bsp-armv7-versatile/linux-armv7-versatile.morph new file mode 100644 index 00000000..850b71ea --- /dev/null +++ b/strata/bsp-armv7-versatile/linux-armv7-versatile.morph @@ -0,0 +1,40 @@ +name: linux-armv7-versatile +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make ARCH=arm vexpress_defconfig +- scripts/config -e BTRFS_FS +- scripts/config -e BTRFS_FS_POSIX_ACL +- scripts/config -d BTRFS_FS_CHECK_INTEGRITY +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e CGROUPS +- scripts/config -e AUTOFS4_FS +- scripts/config -e BLK_DEV_LOOP +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e SECCOMP +- scripts/config -d DEBUG_STACK_TRACE +- scripts/config -e FB_VESA +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make ARCH=arm zImage $MAKEFLAGS +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- cp arch/arm/boot/zImage "$DESTDIR"/boot/zImage +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-armv7b-highbank.morph b/strata/bsp-armv7b-highbank.morph index 0a94bcc1..b30188ee 100644 --- a/bsp-armv7b-highbank.morph +++ b/strata/bsp-armv7b-highbank.morph @@ -2,9 +2,11 @@ name: bsp-armv7b-highbank kind: stratum description: The platform dependent components required to boot an ARM highbank board. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: linux-armv7b-highbank + morph: strata/bsp-armv7b-highbank/linux-armv7b-highbank.morph repo: upstream:linux ref: d67a0e110187abd560a1de63fa172894a52839d5 unpetrify-ref: baserock/morph diff --git a/strata/bsp-armv7b-highbank/linux-armv7b-highbank.morph b/strata/bsp-armv7b-highbank/linux-armv7b-highbank.morph new file mode 100644 index 00000000..7a4c16ec --- /dev/null +++ b/strata/bsp-armv7b-highbank/linux-armv7b-highbank.morph @@ -0,0 +1,62 @@ +name: linux-armv7b-highbank +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make multi_v7_defconfig +- scripts/config -e CPU_BIG_ENDIAN +- scripts/config -e CPU_ENDIAN_BE8 +- scripts/config -e CPU_BE8_BOOT_LE +- scripts/config -e PACKET +- scripts/config -e UNIX +- scripts/config -e NET_KEY +- scripts/config -e INET +- scripts/config -e IP_MULTICAST +- scripts/config -e IP_PNP +- scripts/config -e IP_PNP_DHCP +- scripts/config -e IP_PNP_BOOTP +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e BLK_DEV_LOOP +- scripts/config -e BTRFS_FS +- scripts/config -e TMPFS +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e CGROUPS +- scripts/config -e AUTOFS4_FS +- scripts/config -e NETWORK_FILESYSTEMS +- scripts/config -e NFS_FS +- scripts/config -e NFS_V3 +- scripts/config -e ROOT_NFS +- scripts/config -e LOCKD +- scripts/config -e LOCKD_V4 +- scripts/config -e NFS_COMMON +- scripts/config -e SUNRPC +- scripts/config -e SYSVIPC +- scripts/config -e CONFIG_POSIX_MQUEUE +- scripts/config -e CPU_IDLE +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_USE_FOR_EXT23 +- scripts/config -e MSDOS_FS +- scripts/config -e VFAT_FS +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make zImage $MAKEFLAGS +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- cp arch/arm/boot/zImage "$DESTDIR"/boot/zImage +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-armv7b-vexpress-tc2.morph b/strata/bsp-armv7b-vexpress-tc2.morph index d8abde2d..4b9165cd 100644 --- a/bsp-armv7b-vexpress-tc2.morph +++ b/strata/bsp-armv7b-vexpress-tc2.morph @@ -2,9 +2,11 @@ name: bsp-armv7b-vexpress-tc2 kind: stratum description: The platform dependent components required to boot Versatile TC2 board build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: linux-armv7b-vexpress-tc2 + morph: strata/bsp-armv7b-vexpress-tc2/linux-armv7b-vexpress-tc2.morph repo: upstream:linux ref: d67a0e110187abd560a1de63fa172894a52839d5 unpetrify-ref: baserock/morph diff --git a/strata/bsp-armv7b-vexpress-tc2/linux-armv7b-vexpress-tc2.morph b/strata/bsp-armv7b-vexpress-tc2/linux-armv7b-vexpress-tc2.morph new file mode 100644 index 00000000..73c85bc5 --- /dev/null +++ b/strata/bsp-armv7b-vexpress-tc2/linux-armv7b-vexpress-tc2.morph @@ -0,0 +1,65 @@ +name: linux-armv7b-vexpress-tc2 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make vexpress_defconfig +- scripts/config -e CPU_BIG_ENDIAN +- scripts/config -e CPU_ENDIAN_BE8 +- scripts/config -e CPU_BE8_BOOT_LE +- scripts/config -e PACKET +- scripts/config -e UNIX +- scripts/config -e NET_KEY +- scripts/config -e INET +- scripts/config -e IP_MULTICAST +- scripts/config -e IP_PNP +- scripts/config -e IP_PNP_DHCP +- scripts/config -e IP_PNP_BOOTP +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e BLK_DEV_LOOP +- scripts/config -e BTRFS_FS +- scripts/config -e TMPFS +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e CGROUPS +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e AUTOFS4_FS +- scripts/config -e NETWORK_FILESYSTEMS +- scripts/config -e NFS_FS +- scripts/config -e NFS_V3 +- scripts/config -e ROOT_NFS +- scripts/config -e LOCKD +- scripts/config -e LOCKD_V4 +- scripts/config -e NFS_COMMON +- scripts/config -e SUNRPC +- scripts/config -e SYSVIPC +- scripts/config -e CONFIG_POSIX_MQUEUE +- scripts/config -e CPU_IDLE +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_USE_FOR_EXT23 +- scripts/config -e MSDOS_FS +- scripts/config -e VFAT_FS +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make zImage vexpress-v2p-ca15_a7.dtb +- | + cat arch/arm/boot/zImage arch/arm/boot/dts/vexpress-v2p-ca15_a7.dtb | + dd conv=sync bs=4 of=kernel.bin +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- cp kernel.bin "$DESTDIR"/boot/zImage +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-jetson-devel.morph b/strata/bsp-jetson-devel.morph index 77ef4a74..9d2741e8 100644 --- a/bsp-jetson-devel.morph +++ b/strata/bsp-jetson-devel.morph @@ -1,22 +1,26 @@ name: bsp-jetson-devel kind: stratum -description: The platform dependent components required to boot an NVIDIA Jetson TK1 development image - board. +description: The platform dependent components required to boot an NVIDIA Jetson TK1 + development image board. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: u-boot + morph: strata/bsp-jetson-devel/u-boot.morph repo: upstream:u-boot ref: fe57382d04b46c37f34cf8d3b3ad876554fd12bf unpetrify-ref: baserock/morph build-depends: [] - name: linux + morph: strata/bsp-jetson-devel/linux.morph repo: upstream:linux ref: 1f12d2a9854d101f23cce77f6fe8e53814c8a896 unpetrify-ref: baserock/arm/tegra-3.10 build-depends: - u-boot - name: bsp-support + morph: strata/bsp-jetson-devel/bsp-support.morph repo: baserock:baserock/bsp-support ref: 19bc31ce3198a3c19cdd96d392bde34cb34ed525 unpetrify-ref: baserock/arm/tegra-3.10 diff --git a/strata/bsp-jetson-devel/bsp-support.morph b/strata/bsp-jetson-devel/bsp-support.morph new file mode 100644 index 00000000..3205ec15 --- /dev/null +++ b/strata/bsp-jetson-devel/bsp-support.morph @@ -0,0 +1,23 @@ +name: bsp-support +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- install -o 0 -g 0 -m 755 -D nv-ondemand-cpufreq-governor.service "$DESTDIR/usr/lib/systemd/system/nv-ondemand-cpufreq-governor.service" +- install -d "$DESTDIR/usr/lib/systemd/system/sysinit.target.wants" +- ln -s /usr/lib/systemd/system/nv-ondemand-cpufreq-governor.service "$DESTDIR/usr/lib/systemd/system/sysinit.target.wants/nv-ondemand-cpufreq-governor.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-jetson-devel/linux.morph b/strata/bsp-jetson-devel/linux.morph new file mode 100644 index 00000000..21139dc2 --- /dev/null +++ b/strata/bsp-jetson-devel/linux.morph @@ -0,0 +1,68 @@ +name: linux +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make ARCH=arm tegra12_defconfig +- scripts/config -d KERNEL_LZO +- scripts/config -e KERNEL_GZIP +- scripts/config -e NAMESPACES +- scripts/config -e PACKET +- scripts/config -e SATA_AHCI +- scripts/config -e ATA_GENERIC +- scripts/config -e HAVE_IDE +- scripts/config -d BLK_DEV_IDE_SATA +- scripts/config -e BTRFS_FS +- scripts/config -e BTRFS_FS_POSIX_ACL +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e CGROUPS +- scripts/config -e AUTOFS4_FS +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e EXT2_FS +- scripts/config -e EXT2_FS_XATTR +- scripts/config -e EXT2_FS_POSIX_ACL +- scripts/config -e EXT2_FS_SECURITY +- scripts/config -e EXT2_FS_XIP +- scripts/config -e EXT3_FS +- scripts/config -d EXT3_DEFAULTS_TO_ORDERED +- scripts/config -e EXT3_FS_XATTR +- scripts/config -e EXT3_FS_POSIX_ACL +- scripts/config -e EXT3_FS_SECURITY +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_FS_XATTR +- scripts/config -e EXT4_FS_POSIX_ACL +- scripts/config -e EXT4_FS_SECURITY +- scripts/config -d EXT4_DEBUG +- scripts/config -d JBD_DEBUG +- scripts/config -d JBD2_DEBUG +- scripts/config -e BLK_DEV_LOOP +- scripts/config -d BLK_DEV_CRYPTOLOOP +- scripts/config --set-val BLK_DEV_LOOP_MIN_COUNT 8 +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e SECCOMP +- scripts/config -d DEBUG_STACK_TRACE +- scripts/config -e NFSD +- scripts/config -e NFSD_V3 +- yes '' | make ARCH=arm oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make $MAKEFLAGS ARCH=arm LOADADDR=0x80200000 zImage dtbs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- cp arch/arm/boot/zImage "$DESTDIR"/boot/zImage +- cp arch/arm/boot/dts/tegra124-pm375.dtb "$DESTDIR"/boot/. +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-jetson-devel/u-boot.morph b/strata/bsp-jetson-devel/u-boot.morph new file mode 100644 index 00000000..77e0dfbb --- /dev/null +++ b/strata/bsp-jetson-devel/u-boot.morph @@ -0,0 +1,27 @@ +name: u-boot +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make tools +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR$PREFIX/bin" +- install -m 755 tools/img2brec.sh "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/jtagconsole "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/netconsole "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/mkenvimage "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/mkimage "$DESTDIR$PREFIX/bin/." +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-ppc64-generic.morph b/strata/bsp-ppc64-generic.morph index fdafb86f..7b91a331 100644 --- a/bsp-ppc64-generic.morph +++ b/strata/bsp-ppc64-generic.morph @@ -2,9 +2,11 @@ name: bsp-ppc64-generic kind: stratum description: The platform dependent components required to boot a ppc64 board. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: linux-ppc64 + morph: strata/bsp-ppc64-generic/linux-ppc64.morph repo: upstream:linux ref: d67a0e110187abd560a1de63fa172894a52839d5 unpetrify-ref: baserock/morph diff --git a/strata/bsp-ppc64-generic/linux-ppc64.morph b/strata/bsp-ppc64-generic/linux-ppc64.morph new file mode 100644 index 00000000..723ebb80 --- /dev/null +++ b/strata/bsp-ppc64-generic/linux-ppc64.morph @@ -0,0 +1,71 @@ +name: linux-ppc64 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make ARCH=powerpc ppc64_defconfig +- scripts/config -e NAMESPACES +- scripts/config -e PACKET +- scripts/config -e SATA_AHCI +- scripts/config -e ATA_GENERIC +- scripts/config -e HAVE_IDE +- scripts/config -d BLK_DEV_IDE_SATA +- scripts/config -e BTRFS_FS +- scripts/config -e BTRFS_FS_POSIX_ACL +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e CGROUPS +- scripts/config -e AUTOFS4_FS +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e EXT2_FS +- scripts/config -e EXT2_FS_XATTR +- scripts/config -e EXT2_FS_POSIX_ACL +- scripts/config -e EXT2_FS_SECURITY +- scripts/config -e EXT2_FS_XIP +- scripts/config -e EXT3_FS +- scripts/config -d EXT3_DEFAULTS_TO_ORDERED +- scripts/config -e EXT3_FS_XATTR +- scripts/config -e EXT3_FS_POSIX_ACL +- scripts/config -e EXT3_FS_SECURITY +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_FS_XATTR +- scripts/config -e EXT4_FS_POSIX_ACL +- scripts/config -e EXT4_FS_SECURITY +- scripts/config -d EXT4_DEBUG +- scripts/config -d JBD_DEBUG +- scripts/config -d JBD2_DEBUG +- scripts/config -e BLK_DEV_LOOP +- scripts/config -d BLK_DEV_CRYPTOLOOP +- scripts/config --set-val BLK_DEV_LOOP_MIN_COUNT 8 +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e SECCOMP +- scripts/config -d DEBUG_STACK_TRACE +- scripts/config -e NFSD +- scripts/config -e NFSD_V3 +- scripts/config -e IP_PNP +- scripts/config -e IP_PNP_DHCP +- scripts/config -e NFS_FS +- scripts/config -e ROOT_NFS +- scripts/config -e PCI +- scripts/config -e TIGON3 +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make $MAKEFLAGS ARCH=powerpc zImage +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- cp arch/powerpc/boot/zImage "$DESTDIR"/boot/zImage +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-wandboard.morph b/strata/bsp-wandboard.morph index cab25125..f6834c06 100644 --- a/bsp-wandboard.morph +++ b/strata/bsp-wandboard.morph @@ -2,14 +2,17 @@ name: bsp-wandboard kind: stratum description: The platform dependent components required to boot an wandboard ARM board. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: u-boot + morph: strata/bsp-wandboard/u-boot.morph repo: upstream:u-boot ref: fe57382d04b46c37f34cf8d3b3ad876554fd12bf unpetrify-ref: baserock/morph build-depends: [] - name: linux-armv7-wandboard + morph: strata/bsp-wandboard/linux-armv7-wandboard.morph repo: upstream:linux ref: 9573986cf27ff44814f3efb1f1e95638406db456 unpetrify-ref: baserock/morph diff --git a/strata/bsp-wandboard/linux-armv7-wandboard.morph b/strata/bsp-wandboard/linux-armv7-wandboard.morph new file mode 100644 index 00000000..6a23dfdd --- /dev/null +++ b/strata/bsp-wandboard/linux-armv7-wandboard.morph @@ -0,0 +1,78 @@ +name: linux-armv7-wandboard +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make ARCH=arm imx_v6_v7_defconfig +- scripts/config -d KERNEL_LZO +- scripts/config -e KERNEL_GZIP +- scripts/config -e NAMESPACES +- scripts/config -e PACKET +- scripts/config -e SATA_AHCI +- scripts/config -e ATA_GENERIC +- scripts/config -e HAVE_IDE +- scripts/config -d BLK_DEV_IDE_SATA +- scripts/config -e BTRFS_FS +- scripts/config -e BTRFS_FS_POSIX_ACL +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e CGROUPS +- scripts/config -e AUTOFS4_FS +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e EXT2_FS +- scripts/config -e EXT2_FS_XATTR +- scripts/config -e EXT2_FS_POSIX_ACL +- scripts/config -e EXT2_FS_SECURITY +- scripts/config -e EXT2_FS_XIP +- scripts/config -e EXT3_FS +- scripts/config -d EXT3_DEFAULTS_TO_ORDERED +- scripts/config -e EXT3_FS_XATTR +- scripts/config -e EXT3_FS_POSIX_ACL +- scripts/config -e EXT3_FS_SECURITY +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_FS_XATTR +- scripts/config -e EXT4_FS_POSIX_ACL +- scripts/config -e EXT4_FS_SECURITY +- scripts/config -d EXT4_DEBUG +- scripts/config -d JBD_DEBUG +- scripts/config -d JBD2_DEBUG +- scripts/config -e BLK_DEV_LOOP +- scripts/config -d BLK_DEV_CRYPTOLOOP +- scripts/config --set-val BLK_DEV_LOOP_MIN_COUNT 8 +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e SECCOMP +- scripts/config -d DEBUG_STACK_TRACE +- scripts/config -e NFSD +- scripts/config -e NFSD_V3 +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make $MAKEFLAGS ARCH=arm LOADADDR=0x10800000 uImage dtbs +- | + cat >boot.script <<'EOF' + setenv image_addr "0x12000000" + setenv bootargs "console=ttymxc0,115200 root=/dev/nfs rw ip=dhcp nfsroot=${fileserver}:${nfsroot},v3,tcp" + dhcp ${image_addr} ${fileserver}:${tfpboot}/uImage + bootm ${image_addr} + EOF +- mkimage -A arm -T script -C none -n "Wandboard TFTP Boot Script" -d boot.script + boot.scr +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- cp arch/arm/boot/uImage "$DESTDIR"/boot/uImage +- cp boot.scr "$DESTDIR"/boot/boot.scr +- cp arch/arm/boot/dts/imx6*-wandboard.dtb "$DESTDIR"/boot/. +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-wandboard/u-boot.morph b/strata/bsp-wandboard/u-boot.morph new file mode 100644 index 00000000..77e0dfbb --- /dev/null +++ b/strata/bsp-wandboard/u-boot.morph @@ -0,0 +1,27 @@ +name: u-boot +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make tools +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR$PREFIX/bin" +- install -m 755 tools/img2brec.sh "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/jtagconsole "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/netconsole "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/mkenvimage "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/mkimage "$DESTDIR$PREFIX/bin/." +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-x86_32-generic.morph b/strata/bsp-x86_32-generic.morph index 625f854c..92ba9c65 100644 --- a/bsp-x86_32-generic.morph +++ b/strata/bsp-x86_32-generic.morph @@ -3,19 +3,23 @@ kind: stratum description: The set of platform specific components required for booting a 32-bit x86 based system. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: linux-x86-32-generic + morph: strata/bsp-x86_32-generic/linux-x86-32-generic.morph repo: upstream:linux ref: d67a0e110187abd560a1de63fa172894a52839d5 unpetrify-ref: baserock/morph build-depends: [] - name: nasm + morph: strata/bsp-x86_32-generic/nasm.morph repo: upstream:nasm ref: 78bdad3d14fb875d5f2062957e326ba2a9e4ccb0 unpetrify-ref: baserock/morph build-depends: [] - name: syslinux + morph: strata/bsp-x86_32-generic/syslinux.morph repo: upstream:syslinux ref: 8821237240c5374d83298b2da5ad88fa1e3c1ef7 unpetrify-ref: baserock/morph diff --git a/strata/bsp-x86_32-generic/linux-x86-32-generic.morph b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph new file mode 100644 index 00000000..5aa123ec --- /dev/null +++ b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph @@ -0,0 +1,113 @@ +name: linux-x86-32-generic +kind: chunk +description: '' +max-jobs: null +products: +- artifact: linux-x86-32-generic-devel + include: + - (usr/)?src/linux/.* +- artifact: linux-x86-32-generic-bins + include: + - boot/.* +- artifact: linux-x86-32-generic-libs + include: + - lib/.* +build-system: manual +pre-configure-commands: [] +configure-commands: +- make defconfig +- scripts/config -e PACKET +- scripts/config -e SATA_AHCI +- scripts/config -e ATA_GENERIC +- scripts/config -e HAVE_IDE +- scripts/config -d BLK_DEV_IDE_SATA +- scripts/config -e BTRFS_FS +- scripts/config -e BTRFS_FS_POSIX_ACL +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e CGROUPS +- scripts/config -e AUTOFS4_FS +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e EXT2_FS +- scripts/config -e EXT2_FS_XATTR +- scripts/config -e EXT2_FS_POSIX_ACL +- scripts/config -e EXT2_FS_SECURITY +- scripts/config -e EXT2_FS_XIP +- scripts/config -e EXT3_FS +- scripts/config -d EXT3_DEFAULTS_TO_ORDERED +- scripts/config -e EXT3_FS_XATTR +- scripts/config -e EXT3_FS_POSIX_ACL +- scripts/config -e EXT3_FS_SECURITY +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_FS_XATTR +- scripts/config -e EXT4_FS_POSIX_ACL +- scripts/config -e EXT4_FS_SECURITY +- scripts/config -d EXT4_DEBUG +- scripts/config -d JBD_DEBUG +- scripts/config -d JBD2_DEBUG +- scripts/config -e BLK_DEV_LOOP +- scripts/config -d BLK_DEV_CRYPTOLOOP +- scripts/config -e CEPH_FS +- scripts/config --set-val BLK_DEV_LOOP_MIN_COUNT 8 +- scripts/config -e VIRTIO +- scripts/config -e VIRTIO_RING +- scripts/config -e VIRTIO_PCI +- scripts/config -e VIRTIO_BALLOON +- scripts/config -e VIRTIO_BLK +- scripts/config -e VIRTIO_NET +- scripts/config -e VIRTIO_CONSOLE +- scripts/config -e HW_RANDOM_VIRTIO +- scripts/config -e 9P_FS +- scripts/config -e 9P_FSCACHE +- scripts/config -e 9P_FS_POSIX_ACL +- scripts/config -e NET_9P +- scripts/config -e NET_9P_VIRTIO +- scripts/config -e R8169 +- scripts/config -e 8139TOO +- scripts/config -e 8139CP +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e SECCOMP +- scripts/config -d DEBUG_STACK_TRACE +- scripts/config -e NFSD +- scripts/config -e NFSD_V3 +- scripts/config -e KVM +- scripts/config -e TUN +- scripts/config -e BRIDGE +- scripts/config -e VHOST_NET +- scripts/config -e NF_NAT +- scripts/config -e NF_NAT_IPV4 +- scripts/config -e IP_NF_TARGET_MASQUERADE +- scripts/config -e FB_VESA +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make $MAKEFLAGS +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- make INSTALL_PATH="$DESTDIR"/boot install +- make INSTALL_MOD_PATH="$DESTDIR" modules_install +- install -d "$DESTDIR$PREFIX/src/linux" +- | + ( + printf 'Makefile\0' + printf 'Module.symvers\0' + find arch/x86 -maxdepth 1 -name 'Makefile*' -print0 + find arch/x86 \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print0 + find arch/x86 \( -type d -a \( -name include -o -name scripts \) \) -o \ + \! -type d -a \( -path '*include/*' -o -path '*scripts/*' \) -print0 + find include -name 'asm*' -prune -o -print0 + find include/asm-generic -print0 + find include/uapi -print0 + find scripts -print0 + ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-x86_32-generic/nasm.morph b/strata/bsp-x86_32-generic/nasm.morph new file mode 100644 index 00000000..27d225f3 --- /dev/null +++ b/strata/bsp-x86_32-generic/nasm.morph @@ -0,0 +1,21 @@ +name: nasm +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALLROOT="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-x86_32-generic/syslinux.morph b/strata/bsp-x86_32-generic/syslinux.morph new file mode 100644 index 00000000..c7b80f01 --- /dev/null +++ b/strata/bsp-x86_32-generic/syslinux.morph @@ -0,0 +1,24 @@ +name: syslinux +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make clean +- make +- make installer +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALLROOT="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-x86_64-generic.morph b/strata/bsp-x86_64-generic.morph index ea7ab404..492b41b5 100644 --- a/bsp-x86_64-generic.morph +++ b/strata/bsp-x86_64-generic.morph @@ -3,19 +3,23 @@ kind: stratum description: The set of platform specific components required for booting a 64-bit x86 based system. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: linux-x86-64-generic + morph: strata/bsp-x86_64-generic/linux-x86-64-generic.morph repo: upstream:linux ref: d67a0e110187abd560a1de63fa172894a52839d5 unpetrify-ref: baserock/morph build-depends: [] - name: nasm + morph: strata/bsp-x86_64-generic/nasm.morph repo: upstream:nasm ref: 78bdad3d14fb875d5f2062957e326ba2a9e4ccb0 unpetrify-ref: baserock/morph build-depends: [] - name: syslinux + morph: strata/bsp-x86_64-generic/syslinux.morph repo: upstream:syslinux ref: 8821237240c5374d83298b2da5ad88fa1e3c1ef7 unpetrify-ref: baserock/morph diff --git a/strata/bsp-x86_64-generic/linux-x86-64-generic.morph b/strata/bsp-x86_64-generic/linux-x86-64-generic.morph new file mode 100644 index 00000000..9a24bfab --- /dev/null +++ b/strata/bsp-x86_64-generic/linux-x86-64-generic.morph @@ -0,0 +1,113 @@ +name: linux-x86-64-generic +kind: chunk +description: '' +max-jobs: null +products: +- artifact: linux-x86-64-generic-devel + include: + - (usr/)?src/linux/.* +- artifact: linux-x86-64-generic-bins + include: + - boot/.* +- artifact: linux-x86-64-generic-libs + include: + - lib/.* +build-system: manual +pre-configure-commands: [] +configure-commands: +- make defconfig +- scripts/config -e PACKET +- scripts/config -e SATA_AHCI +- scripts/config -e ATA_GENERIC +- scripts/config -e HAVE_IDE +- scripts/config -d BLK_DEV_IDE_SATA +- scripts/config -e BTRFS_FS +- scripts/config -e BTRFS_FS_POSIX_ACL +- scripts/config -e DEVTMPFS +- scripts/config -e DEVTMPFS_MOUNT +- scripts/config -e CONFIG_FHANDLE +- scripts/config -e CGROUPS +- scripts/config -e AUTOFS4_FS +- scripts/config --set-str UEVENT_HELPER_PATH '' +- scripts/config -e EXT2_FS +- scripts/config -e EXT2_FS_XATTR +- scripts/config -e EXT2_FS_POSIX_ACL +- scripts/config -e EXT2_FS_SECURITY +- scripts/config -e EXT2_FS_XIP +- scripts/config -e EXT3_FS +- scripts/config -d EXT3_DEFAULTS_TO_ORDERED +- scripts/config -e EXT3_FS_XATTR +- scripts/config -e EXT3_FS_POSIX_ACL +- scripts/config -e EXT3_FS_SECURITY +- scripts/config -e EXT4_FS +- scripts/config -e EXT4_FS_XATTR +- scripts/config -e EXT4_FS_POSIX_ACL +- scripts/config -e EXT4_FS_SECURITY +- scripts/config -d EXT4_DEBUG +- scripts/config -d JBD_DEBUG +- scripts/config -d JBD2_DEBUG +- scripts/config -e BLK_DEV_LOOP +- scripts/config -d BLK_DEV_CRYPTOLOOP +- scripts/config -e CEPH_FS +- scripts/config --set-val BLK_DEV_LOOP_MIN_COUNT 8 +- scripts/config -e VIRTIO +- scripts/config -e VIRTIO_RING +- scripts/config -e VIRTIO_PCI +- scripts/config -e VIRTIO_BALLOON +- scripts/config -e VIRTIO_BLK +- scripts/config -e VIRTIO_NET +- scripts/config -e VIRTIO_CONSOLE +- scripts/config -e HW_RANDOM_VIRTIO +- scripts/config -e 9P_FS +- scripts/config -e 9P_FSCACHE +- scripts/config -e 9P_FS_POSIX_ACL +- scripts/config -e NET_9P +- scripts/config -e NET_9P_VIRTIO +- scripts/config -e R8169 +- scripts/config -e 8139TOO +- scripts/config -e 8139CP +- scripts/config -e IKCONFIG +- scripts/config -e IKCONFIG_PROC +- scripts/config -e SECCOMP +- scripts/config -d DEBUG_STACK_TRACE +- scripts/config -e NFSD +- scripts/config -e NFSD_V3 +- scripts/config -e KVM +- scripts/config -e TUN +- scripts/config -e BRIDGE +- scripts/config -e VHOST_NET +- scripts/config -e NF_NAT +- scripts/config -e NF_NAT_IPV4 +- scripts/config -e IP_NF_TARGET_MASQUERADE +- scripts/config -e FB_VESA +- yes '' | make oldconfig +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make $MAKEFLAGS +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/boot +- make INSTALL_PATH="$DESTDIR"/boot install +- make INSTALL_MOD_PATH="$DESTDIR" modules_install +- install -d "$DESTDIR$PREFIX/src/linux" +- | + ( + printf 'Makefile\0' + printf 'Module.symvers\0' + find arch/x86 -maxdepth 1 -name 'Makefile*' -print0 + find arch/x86 \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print0 + find arch/x86 \( -type d -a \( -name include -o -name scripts \) \) -o \ + \! -type d -a \( -path '*include/*' -o -path '*scripts/*' \) -print0 + find include -name 'asm*' -prune -o -print0 + find include/asm-generic -print0 + find include/uapi -print0 + find scripts -print0 + ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-x86_64-generic/nasm.morph b/strata/bsp-x86_64-generic/nasm.morph new file mode 100644 index 00000000..27d225f3 --- /dev/null +++ b/strata/bsp-x86_64-generic/nasm.morph @@ -0,0 +1,21 @@ +name: nasm +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALLROOT="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-x86_64-generic/syslinux.morph b/strata/bsp-x86_64-generic/syslinux.morph new file mode 100644 index 00000000..c7b80f01 --- /dev/null +++ b/strata/bsp-x86_64-generic/syslinux.morph @@ -0,0 +1,24 @@ +name: syslinux +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make clean +- make +- make installer +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALLROOT="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/bsp-x86_both-tools.morph b/strata/bsp-x86_both-tools.morph index 60b8bcd0..a980d39c 100644 --- a/bsp-x86_both-tools.morph +++ b/strata/bsp-x86_both-tools.morph @@ -3,14 +3,17 @@ kind: stratum description: The set of platform specific components required for configuring a bootable x86 based system. build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: nasm + morph: strata/bsp-x86_both-tools/nasm.morph repo: upstream:nasm ref: 78bdad3d14fb875d5f2062957e326ba2a9e4ccb0 unpetrify-ref: baserock/morph build-depends: [] - name: syslinux + morph: strata/bsp-x86_both-tools/syslinux.morph repo: upstream:syslinux ref: 8821237240c5374d83298b2da5ad88fa1e3c1ef7 unpetrify-ref: baserock/morph diff --git a/strata/bsp-x86_both-tools/nasm.morph b/strata/bsp-x86_both-tools/nasm.morph new file mode 100644 index 00000000..27d225f3 --- /dev/null +++ b/strata/bsp-x86_both-tools/nasm.morph @@ -0,0 +1,21 @@ +name: nasm +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALLROOT="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/bsp-x86_both-tools/syslinux.morph b/strata/bsp-x86_both-tools/syslinux.morph new file mode 100644 index 00000000..c7b80f01 --- /dev/null +++ b/strata/bsp-x86_both-tools/syslinux.morph @@ -0,0 +1,24 @@ +name: syslinux +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make clean +- make +- make installer +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALLROOT="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/build-essential.morph b/strata/build-essential.morph index 2f8d798b..5ed73694 100644 --- a/build-essential.morph +++ b/strata/build-essential.morph @@ -31,6 +31,7 @@ description: | stage2-fhs-dirs.morph for details. Basically, /bin is a symlink to /tools/bin during stage 2 but in stage 3 it becomes a real directory again. +build-depends: [] products: - artifact: build-essential-minimal include: @@ -39,6 +40,7 @@ products: - eglibc-nss chunks: - name: stage1-binutils + morph: strata/build-essential/stage1-binutils.morph repo: upstream:binutils-redhat ref: 987eb543a034cddc4eeb103f08f566f24a5f964a unpetrify-ref: baserock/build-essential @@ -46,6 +48,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage1-gcc + morph: strata/build-essential/stage1-gcc.morph repo: upstream:gcc-tarball ref: 0a1a077d3466cd99a4ed5590db2146b3fec6fff1 unpetrify-ref: baserock/build-essential @@ -54,6 +57,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-linux-api-headers + morph: strata/build-essential/stage2-linux-api-headers.morph repo: upstream:linux ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8 unpetrify-ref: baserock/build-essential @@ -63,6 +67,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-eglibc + morph: strata/build-essential/stage2-eglibc.morph repo: upstream:eglibc2 ref: 43ee5d250ad47d2bee8ec17954efb7f22d2b804c unpetrify-ref: baserock/2.15-build-essential @@ -73,6 +78,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-binutils + morph: strata/build-essential/stage2-binutils.morph repo: upstream:binutils-redhat ref: 987eb543a034cddc4eeb103f08f566f24a5f964a unpetrify-ref: baserock/build-essential @@ -83,6 +89,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-gcc-fixed-headers + morph: strata/build-essential/stage2-gcc-fixed-headers.morph repo: upstream:gcc-tarball ref: 0a1a077d3466cd99a4ed5590db2146b3fec6fff1 unpetrify-ref: baserock/build-essential @@ -93,6 +100,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-gcc + morph: strata/build-essential/stage2-gcc.morph repo: upstream:gcc-tarball ref: 0a1a077d3466cd99a4ed5590db2146b3fec6fff1 unpetrify-ref: baserock/build-essential @@ -104,6 +112,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-busybox + morph: strata/build-essential/stage2-busybox.morph repo: upstream:busybox ref: eeb9014f28e3aa00673a0fad127e7420da4392db unpetrify-ref: baserock/build-essential @@ -114,6 +123,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-fhs-dirs + morph: strata/build-essential/stage2-fhs-dirs.morph repo: baserock:baserock/fhs-dirs ref: 41bbb474cd4647ee715bc94c21c161d12a20deb4 unpetrify-ref: master @@ -121,6 +131,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-gawk + morph: strata/build-essential/stage2-gawk.morph repo: upstream:gawk ref: 6a0eb04c3d2ac24d80d505b42a8f67799487d133 unpetrify-ref: baserock/build-essential @@ -131,6 +142,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-make + morph: strata/build-essential/stage2-make.morph repo: upstream:make ref: 56968f58301e6e5157cf4c8b6deefbaff2955eba unpetrify-ref: baserock/build-essential @@ -141,6 +153,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: stage2-reset-specs + morph: strata/build-essential/stage2-reset-specs.morph repo: upstream:eglibc2 ref: 43ee5d250ad47d2bee8ec17954efb7f22d2b804c unpetrify-ref: baserock/2.15-build-essential @@ -152,6 +165,7 @@ chunks: build-mode: bootstrap prefix: /tools - name: fhs-dirs + morph: strata/build-essential/fhs-dirs.morph repo: baserock:baserock/fhs-dirs ref: 41bbb474cd4647ee715bc94c21c161d12a20deb4 unpetrify-ref: master @@ -168,6 +182,7 @@ chunks: build-mode: staging prefix: /usr - name: linux-api-headers + morph: strata/build-essential/linux-api-headers.morph repo: upstream:linux ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8 unpetrify-ref: baserock/build-essential @@ -184,6 +199,7 @@ chunks: build-mode: staging prefix: /usr - name: eglibc + morph: strata/build-essential/eglibc.morph repo: upstream:eglibc2 ref: df0258044f321990eadd647e03095a48ad04c1a8 unpetrify-ref: baserock/2.15-build-essential @@ -205,6 +221,7 @@ chunks: eglibc-nss: build-essential-runtime prefix: /usr - name: zlib + morph: strata/build-essential/zlib.morph repo: upstream:zlib ref: db333af7e9b90a23fd7f9cd8dc128123b34bf698 unpetrify-ref: baserock/build-essential @@ -224,6 +241,7 @@ chunks: zlib-libs: build-essential-minimal prefix: /usr - name: binutils + morph: strata/build-essential/binutils.morph repo: upstream:binutils-redhat ref: 987eb543a034cddc4eeb103f08f566f24a5f964a unpetrify-ref: baserock/build-essential @@ -242,6 +260,7 @@ chunks: build-mode: staging prefix: /usr - name: busybox + morph: strata/build-essential/busybox.morph repo: upstream:busybox ref: bf06394ab87ff22662084c82c1821847c25b7f21 unpetrify-ref: baserock/build-essential @@ -259,6 +278,7 @@ chunks: build-mode: staging prefix: /usr - name: gawk + morph: strata/build-essential/gawk.morph repo: upstream:gawk ref: 6a0eb04c3d2ac24d80d505b42a8f67799487d133 unpetrify-ref: baserock/build-essential @@ -276,6 +296,7 @@ chunks: build-mode: staging prefix: /usr - name: gcc + morph: strata/build-essential/gcc.morph repo: upstream:gcc-tarball ref: b0254026149b13782eae26d38435a4c62a002cf0 unpetrify-ref: baserock/build-essential-4.7 @@ -296,6 +317,7 @@ chunks: gcc-libs: build-essential-minimal prefix: /usr - name: make + morph: strata/build-essential/make.morph repo: upstream:make ref: 56968f58301e6e5157cf4c8b6deefbaff2955eba unpetrify-ref: baserock/build-essential @@ -313,6 +335,7 @@ chunks: build-mode: staging prefix: /usr - name: ccache + morph: strata/build-essential/ccache.morph repo: upstream:ccache ref: 567631456f0899cdf0c382f898d38aadc8901d32 unpetrify-ref: baserock/build-essential diff --git a/strata/build-essential/binutils.morph b/strata/build-essential/binutils.morph new file mode 100644 index 00000000..8458bf49 --- /dev/null +++ b/strata/build-essential/binutils.morph @@ -0,0 +1,23 @@ +name: binutils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- | + ./configure --prefix="$PREFIX" --disable-nls --disable-werror \ + --with-system-zlib +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/busybox.morph b/strata/build-essential/busybox.morph new file mode 100644 index 00000000..94656771 --- /dev/null +++ b/strata/build-essential/busybox.morph @@ -0,0 +1,114 @@ +name: busybox +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make defconfig +- sed -e 's|.*UDHCPC_DEFAULT_SCRIPT.*|CONFIG_UDHCPC_DEFAULT_SCRIPT="'"$PREFIX"/share/udhcpc/default.script'"|' + -i .config +- sed -e 's|.*IFUPDOWN_IFSTATE_PATH.*|CONFIG_IFUPDOWN_IFSTATE_PATH="/run/ifstate"|' + -i .config +- '[ "$PREFIX" = /usr ] || sed -e ''s/.*INSTALL_NO_USR.*/CONFIG_INSTALL_NO_USR=y/'' + -i .config' +- sed -e 's/CONFIG_INETD=y.*/# CONFIG_INETD is not set/' -i .config +- sed -e 's/CONFIG_PATCH=y.*/# CONFIG_PATCH is not set/' -i .config +- sed -e 's/CONFIG_DEPMOD=y.*/# CONFIG_DEPMOD is not set/' -i .config +- sed -e 's/CONFIG_INSMOD=y.*/# CONFIG_INSMOD is not set/' -i .config +- sed -e 's/CONFIG_MODPROBE=y.*/# CONFIG_MODPROBE is not set/' -i .config +- sed -e 's/CONFIG_MODPROBE_SMALL=y.*/# CONFIG_MODPROBE_SMALL is not set/' -i .config +- sed -e 's/CONFIG_LSMOD=y.*/# CONFIG_LSMOD is not set/' -i .config +- sed -e 's/CONFIG_RMMOD=y.*/# CONFIG_RMMOD is not set/' -i .config +- sed -e 's/CONFIG_FEATURE_MOUNT_CIFS=y.*/# CONFIG_FEATURE_MOUNT_CIFS is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_EXTRA_QUIET=y.*/# CONFIG_FEATURE_EXTRA_QUIET is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_INIT_COREDUMPS=y.*/# CONFIG_FEATURE_INIT_COREDUMPS is not + set/' -i .config +- sed -e 's/CONFIG_FEATURE_INIT_SCTTY=y.*/# CONFIG_FEATURE_INIT_SCTTY is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_INIT_SYSLOG=y.*/# CONFIG_FEATURE_INIT_SYSLOG is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_INITRD=y.*/# CONFIG_FEATURE_INITRD is not set/' -i .config +- sed -e 's/CONFIG_FEATURE_MINIX2=y.*/# CONFIG_FEATURE_MINIX2 is not set/' -i .config +- sed -e 's/CONFIG_FSCK_MINIX=y.*/# CONFIG_FSCK_MINIX is not set/' -i .config +- sed -e 's/CONFIG_LOSETUP=y.*/# CONFIG_LOSETUP is not set/' -i .config +- sed -e 's/CONFIG_LSUSB=y.*/# CONFIG_LSUSB is not set/' -i .config +- sed -e 's/CONFIG_LZMA=y.*/# CONFIG_LZMA is not set/' -i .config +- sed -e 's/CONFIG_MKFS_EXT2=y.*/# CONFIG_MKFS_EXT2 is not set/' -i .config +- sed -e 's/CONFIG_MKFS_MINIX=y.*/# CONFIG_MKFS_MINIX is not set/' -i .config +- sed -e 's/CONFIG_STRINGS=y.*/# CONFIG_STRINGS is not set/' -i .config +- sed -e 's/CONFIG_UNLZMA=y.*/# CONFIG_UNLZMA is not set/' -i .config +- sed -e 's/CONFIG_UNXZ=y.*/# CONFIG_UNXZ is not set/' -i .config +- sed -e 's/CONFIG_XZ=y.*/# CONFIG_XZ is not set/' -i .config +- sed -e 's/# CONFIG_BBCONFIG is not set/CONFIG_BBCONFIG=y/' -i .config +- sed -e 's/# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set/CONFIG_FEATURE_COMPRESS_BBCONFIG=y/' + -i .config +- sed -e 's/# CONFIG_FEATURE_MOUNT_HELPERS is not set/CONFIG_FEATURE_MOUNT_HELPERS=y/' + -i .config +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- | + for fin in systemd-units/*.in + do + f=$(echo "$fin" | sed 's/\.in$//') + sed -e 's|@rootprefix@||g' "$fin" >"$f"; + done +post-build-commands: [] +pre-install-commands: [] +install-commands: +- | + if [ "$PREFIX" = /usr ]; then PREFIX=; fi && + make CONFIG_PREFIX="$DESTDIR$PREFIX" install && + chmod 6755 "$DESTDIR$PREFIX"/bin/busybox +- mkdir -p "$DESTDIR/var/spool/cron/crontabs" +- mkdir -p "$DESTDIR/lib/systemd/system/multi-user.target.wants" +- | + for f in systemd-units/*.service; do + install -m 644 "$f" "$DESTDIR/lib/systemd/system"; + done +- | + for f in $(cd systemd-units; ls *.service | grep -v -F "@"); do + ln -s "../$f" "$DESTDIR/lib/systemd/system/multi-user.target.wants/"; + done +- mkdir -p "$DESTDIR/lib/udev/rules.d" +- for f in udev-rules/100-baserock.rules; do install -m 644 "$f" "$DESTDIR/lib/udev/rules.d"; + done +- mkdir -p "$DESTDIR$PREFIX"/share/udhcpc +- cp examples/udhcp/simple.script "$DESTDIR$PREFIX"/share/udhcpc/default.script +- install scripts/run-ntpd-with-config "$DESTDIR$PREFIX"/sbin/. +- install -d "$DESTDIR/etc" +- | + cat << EOF > "$DESTDIR/etc/ntpd.conf" + server 0.pool.ntp.org + server 1.pool.ntp.org + server 2.pool.ntp.org + server 3.pool.ntp.org + EOF +- | + cat << EOF > "$DESTDIR/etc/profile" + # Set default pager to less + export MANPAGER='less -R' + EOF +- | + cat << EOF > "$DESTDIR/etc/man.conf" + # This file is used by man to provide a manpath for those without one by + # examining their PATH environment variable. + # + # Lines beginning with `#' are comments and are ignored. Any combination of + # tabs or spaces may be used as `whitespace' separators. + + MANDATORY_MANPATH /usr/man + MANDATORY_MANPATH /usr/share/man + MANDATORY_MANPATH /usr/local/share/man + EOF +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/ccache.morph b/strata/build-essential/ccache.morph new file mode 100644 index 00000000..59841606 --- /dev/null +++ b/strata/build-essential/ccache.morph @@ -0,0 +1,27 @@ +name: ccache +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR/$PREFIX/lib/ccache" +- for cc in gcc cc g++ c++; do ln -sf "$PREFIX/bin/ccache" "$DESTDIR/$PREFIX/lib/ccache/$cc"; + done +- for cc in gcc cc g++ c++; do ln -sf "$PREFIX/bin/ccache" "$DESTDIR/$PREFIX/lib/ccache/$TARGET-$cc"; + done +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/eglibc.morph b/strata/build-essential/eglibc.morph new file mode 100644 index 00000000..905752d5 --- /dev/null +++ b/strata/build-essential/eglibc.morph @@ -0,0 +1,71 @@ +name: eglibc +kind: chunk +description: '' +max-jobs: null +products: +- artifact: eglibc-nss + include: + - etc/nsswitch.conf + - (usr/)?lib/libnss.* +- artifact: eglibc-gconv + include: + - (usr/)?lib/gconv/.* +- artifact: eglibc-libs + include: + - sbin/ldconfig + - lib(32|64)?/ld-.* + - (usr/)?lib(exec)?/pt_chown +- artifact: eglibc-bins + include: + - (usr/)?s?bin/.* + - (usr/)?libexec/getconf/.* + - (usr/)?lib/libSegFault\.so(\.\d+)*$ +- artifact: eglibc-libs + include: + - (usr/)?lib(32|64)?/lib[^/]*\.so(\.\d+)*$ +- artifact: eglibc-devel + include: + - (usr/)?include/.* + - (usr/)?lib(32|64)?/lib.*\.a + - (usr/)?lib(32|64)?/lib.*\.la + - (usr/)?(lib(32|64)?|share)/pkgconfig/.*\.pc + - (usr/)?lib(32|64)?/.*\.o +- artifact: eglibc-locale + include: + - (usr/)?share/locale/.* + - (usr/)?share/i18n/.* + - (usr/)?share/zoneinfo/.* +- artifact: eglibc-misc + include: + - .* +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- cd libc && ln -s ../ports ports +- | + export CFLAGS="-O2 $CFLAGS"; cd o && + ../libc/configure \ + $(../morph-arch-config) \ + --prefix="$PREFIX" \ + --disable-profile \ + --enable-kernel=2.6.25 \ + --enable-add-ons=nptl,ports \ + --without-cvs \ + --without-selinux +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd o && make localtime=UTC +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd o && make install_root="$DESTDIR" localtime=UTC install +- mkdir -p "$DESTDIR/etc" +- install -m 644 -o root -g root nsswitch.conf "$DESTDIR/etc/nsswitch.conf" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/fhs-dirs.morph b/strata/build-essential/fhs-dirs.morph new file mode 100644 index 00000000..ab6e5c6f --- /dev/null +++ b/strata/build-essential/fhs-dirs.morph @@ -0,0 +1,65 @@ +name: fhs-dirs +kind: chunk +description: create the FHS 2.3 directory hierarchy and the usual files +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- sh ./create-fhs-dirs "$DESTDIR" +- install -m 644 passwd "$DESTDIR/etc/passwd" +- install -m 600 shadow "$DESTDIR/etc/shadow" +- install -m 644 interfaces "$DESTDIR/etc/network/interfaces" +- install -m 644 group "$DESTDIR/etc/group" +- install -m 644 ld.so.conf "$DESTDIR/etc/ld.so.conf" +- install -m 644 issue "$DESTDIR/etc/issue" +- install -m 644 services "$DESTDIR/etc/services" +- install -m 644 protocols "$DESTDIR/etc/protocols" +- echo baserock > "$DESTDIR"/etc/hostname +post-install-commands: [] +devices: +- type: c + filename: /dev/console + gid: 0 + major: 5 + minor: 1 + permissions: '0600' + uid: 0 +- type: c + filename: /dev/full + gid: 0 + major: 1 + minor: 7 + permissions: '0666' + uid: 0 +- type: c + filename: /dev/null + gid: 0 + major: 1 + minor: 3 + permissions: '0666' + uid: 0 +- type: c + filename: /dev/urandom + gid: 0 + major: 1 + minor: 9 + permissions: '0666' + uid: 0 +- type: c + filename: /dev/zero + gid: 0 + major: 1 + minor: 5 + permissions: '0666' + uid: 0 +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/gawk.morph b/strata/build-essential/gawk.morph new file mode 100644 index 00000000..427512fa --- /dev/null +++ b/strata/build-essential/gawk.morph @@ -0,0 +1,21 @@ +name: gawk +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --disable-nls +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph new file mode 100644 index 00000000..9401b3c8 --- /dev/null +++ b/strata/build-essential/gcc.morph @@ -0,0 +1,43 @@ +name: gcc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- | + cd o && \ + ../configure \ + $(../morph-arch-config) \ + --prefix="$PREFIX" \ + `# [1]` --libdir=$PREFIX/lib \ + --disable-nls \ + --enable-languages=c,c++,fortran \ + --enable-shared --enable-threads=posix \ + `# [2]` --disable-multilib \ + `# [3]` --disable-libgomp --without-cloog --without-ppl \ + `# [4]` --enable-__cxa_atexit \ + `# [5]` --with-mpfr-include="$(pwd)/../mpfr/src" \ + --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \ + `# [6]` --with-system-zlib +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd o && make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd o && make DESTDIR="$DESTDIR" install +- ln -s gcc "$DESTDIR/$PREFIX/bin/cc" +- | + for fortran_alias in f77 f90 f95; do + ln -s gfortran "$DESTDIR/$PREFIX/bin/$fortran_alias" + done +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/linux-api-headers.morph b/strata/build-essential/linux-api-headers.morph new file mode 100644 index 00000000..99a57366 --- /dev/null +++ b/strata/build-essential/linux-api-headers.morph @@ -0,0 +1,24 @@ +name: linux-api-headers +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make mrproper +- ARCH=$(./morph-arch) make INSTALL_HDR_PATH=dest headers_install +- install -d "$DESTDIR${PREFIX-/usr}/include" +- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/make.morph b/strata/build-essential/make.morph new file mode 100644 index 00000000..cc5fa4d9 --- /dev/null +++ b/strata/build-essential/make.morph @@ -0,0 +1,21 @@ +name: make +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --disable-nls +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage1-binutils.morph b/strata/build-essential/stage1-binutils.morph new file mode 100644 index 00000000..f05679c3 --- /dev/null +++ b/strata/build-essential/stage1-binutils.morph @@ -0,0 +1,26 @@ +name: stage1-binutils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- | + ./configure --prefix="$PREFIX" --disable-nls --disable-werror \ + --build=$(sh config.guess) \ + --host=$(sh config.guess) \ + --target=$TARGET_STAGE1 \ + --with-sysroot="/" --with-lib-path="=$PREFIX/lib" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph new file mode 100644 index 00000000..7fd260b6 --- /dev/null +++ b/strata/build-essential/stage1-gcc.morph @@ -0,0 +1,45 @@ +name: stage1-gcc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- | + cd o && + ../configure \ + $(../morph-arch-config) \ + --build=$(sh ../config.guess) --host=$(sh ../config.guess) \ + --target=$TARGET_STAGE1 \ + --prefix="$PREFIX" \ + --disable-bootstrap --disable-nls \ + `# [1]` --libdir="$PREFIX/lib" --disable-multilib --disable-libgomp \ + --without-cloog --without-ppl \ + --with-mpfr-include="$(pwd)/../mpfr/src" \ + --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \ + `# [2]` --with-local-prefix="$PREFIX" \ + `# [3]` --with-native-system-header-dir="$PREFIX/include" \ + `# [4]` --enable-languages=c --disable-decimal-float \ + --disable-libmudflap --disable-libquadmath --disable-libssp \ + --disable-shared --disable-threads --disable-target-libiberty \ + --disable-target-zlib --without-headers --with-newlib \ + --with-system-zlib +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd o && make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd o && make DESTDIR="$DESTDIR" install +- | + libgcc_filename=$($DESTDIR$PREFIX/bin/$TARGET_STAGE1-gcc -print-libgcc-file-name) + ln -sv libgcc.a $(echo $libgcc_filename | sed 's/libgcc/&_eh/') +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-binutils.morph b/strata/build-essential/stage2-binutils.morph new file mode 100644 index 00000000..fb886192 --- /dev/null +++ b/strata/build-essential/stage2-binutils.morph @@ -0,0 +1,34 @@ +name: stage2-binutils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- | + export STAGE2_SYSROOT="$(dirname $(pwd))" + export CPPFLAGS="--sysroot=$STAGE2_SYSROOT" + export CXX=false + export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" + ./configure --prefix="$PREFIX" --disable-nls --disable-werror \ + --build=$(sh config.guess) \ + --host=$TARGET_STAGE1 \ + --target=$TARGET_STAGE1 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- | + export STAGE2_SYSROOT="$(dirname $(pwd))" + export CPPFLAGS="--sysroot=$STAGE2_SYSROOT" + export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" + make +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-busybox.morph b/strata/build-essential/stage2-busybox.morph new file mode 100644 index 00000000..3af344d8 --- /dev/null +++ b/strata/build-essential/stage2-busybox.morph @@ -0,0 +1,72 @@ +name: stage2-busybox +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make HOSTCC="/usr/bin/gcc" CROSS_COMPILE=$TARGET_STAGE1- defconfig +- '[ "$PREFIX" = /usr ] || sed -e ''s/.*INSTALL_NO_USR.*/CONFIG_INSTALL_NO_USR=y/'' + -i .config' +- sed -e 's/CONFIG_AWK=y.*/# CONFIG_AWK is not set/' -i .config +- sed -e 's/CONFIG_INETD=y.*/# CONFIG_INETD is not set/' -i .config +- sed -e 's/CONFIG_PATCH=y.*/# CONFIG_PATCH is not set/' -i .config +- sed -e 's/CONFIG_DEPMOD=y.*/# CONFIG_DEPMOD is not set/' -i .config +- sed -e 's/CONFIG_INSMOD=y.*/# CONFIG_INSMOD is not set/' -i .config +- sed -e 's/CONFIG_MODPROBE=y.*/# CONFIG_MODPROBE is not set/' -i .config +- sed -e 's/CONFIG_MODPROBE_SMALL=y.*/# CONFIG_MODPROBE_SMALL is not set/' -i .config +- sed -e 's/CONFIG_LSMOD=y.*/# CONFIG_LSMOD is not set/' -i .config +- sed -e 's/CONFIG_RMMOD=y.*/# CONFIG_RMMOD is not set/' -i .config +- sed -e 's/CONFIG_FEATURE_MOUNT_CIFS=y.*/# CONFIG_FEATURE_MOUNT_CIFS is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_EXTRA_QUIET=y.*/# CONFIG_FEATURE_EXTRA_QUIET is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_INIT_COREDUMPS=y.*/# CONFIG_FEATURE_INIT_COREDUMPS is not + set/' -i .config +- sed -e 's/CONFIG_FEATURE_INIT_SCTTY=y.*/# CONFIG_FEATURE_INIT_SCTTY is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_INIT_SYSLOG=y.*/# CONFIG_FEATURE_INIT_SYSLOG is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_INITRD=y.*/# CONFIG_FEATURE_INITRD is not set/' -i .config +- sed -e 's/CONFIG_FEATURE_USE_INITTAB=y.*/# CONFIG_FEATURE_USE_INITTAB is not set/' + -i .config +- sed -e 's/CONFIG_FEATURE_MINIX2=y.*/# CONFIG_FEATURE_MINIX2 is not set/' -i .config +- sed -e 's/CONFIG_FSCK_MINIX=y.*/# CONFIG_FSCK_MINIX is not set/' -i .config +- sed -e 's/CONFIG_HALT=y.*/# CONFIG_HALT is not set/' -i .config +- sed -e 's/CONFIG_INIT=y.*/# CONFIG_INIT is not set/' -i .config +- sed -e 's/CONFIG_INIT_TERMINAL_TYPE=y.*/CONFIG_INIT_TERMINAL_TYPE=""/' -i .config +- sed -e 's/CONFIG_LOSETUP=y.*/# CONFIG_LOSETUP is not set/' -i .config +- sed -e 's/CONFIG_LSUSB=y.*/# CONFIG_LSUSB is not set/' -i .config +- sed -e 's/CONFIG_LZMA=y.*/# CONFIG_LZMA is not set/' -i .config +- sed -e 's/CONFIG_MKFS_EXT2=y.*/# CONFIG_MKFS_EXT2 is not set/' -i .config +- sed -e 's/CONFIG_MKFS_MINIX=y.*/# CONFIG_MKFS_MINIX is not set/' -i .config +- sed -e 's/CONFIG_RUNLEVEL=y.*/# CONFIG_RUNLEVEL is not set/' -i .config +- sed -e 's/CONFIG_STRINGS=y.*/# CONFIG_STRINGS is not set/' -i .config +- sed -e 's/CONFIG_UNLZMA=y.*/# CONFIG_UNLZMA is not set/' -i .config +- sed -e 's/CONFIG_UNXZ=y.*/# CONFIG_UNXZ is not set/' -i .config +- sed -e 's/CONFIG_XZ=y.*/# CONFIG_XZ is not set/' -i .config +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- | + export STAGE2_SYSROOT="$(dirname $(pwd))" + export CPPFLAGS="--sysroot=$STAGE2_SYSROOT" + export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" + make HOSTCC="/usr/bin/gcc" CROSS_COMPILE=$TARGET_STAGE1- +post-build-commands: [] +pre-install-commands: [] +install-commands: +- | + export STAGE2_SYSROOT="$(dirname $(pwd))" + export CPPFLAGS="--sysroot=$STAGE2_SYSROOT" + export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" + make CONFIG_PREFIX="$DESTDIR$PREFIX" \ + HOSTCC="/usr/bin/gcc" CROSS_COMPILE=$TARGET_STAGE1- install && + chmod 6755 "$DESTDIR$PREFIX"/bin/busybox +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-eglibc.morph b/strata/build-essential/stage2-eglibc.morph new file mode 100644 index 00000000..3662bb90 --- /dev/null +++ b/strata/build-essential/stage2-eglibc.morph @@ -0,0 +1,53 @@ +name: stage2-eglibc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- cd libc && ln -s ../ports ports +- | + export CFLAGS="-O2 $CFLAGS"; export CXX=false; \ + cd o && ../libc/configure \ + $(../morph-arch-config) \ + --build=$(../libc/scripts/config.guess) --host=$TARGET_STAGE1 \ + --prefix="$PREFIX" \ + `# [1]` --libdir="$PREFIX/lib" \ + `# [2]` --with-headers="$(pwd)/../../$PREFIX/include" \ + `# [3]` --disable-profile --enable-kernel=2.6.25 \ + --enable-add-ons=nptl,ports --without-cvs --without-selinux \ + `# [4]` libc_cv_c_cleanup=yes libc_cv_ctors_header=yes \ + libc_cv_forced_unwind=yes libc_cv_ssp=no +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd o && make localtime=UTC +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd o && make install_root="$DESTDIR" localtime=UTC install +- sh stage2-eglibc-fix-specs +- install -d $DESTDIR/lib +- | + cpu=$(echo $TARGET | cut -d '-' -f 1) + case "$cpu" in + x86_64) + install -d "$DESTDIR/lib64" + ln -s "$PREFIX/lib/ld-linux-x86-64.so.2" \ + "$DESTDIR/lib64/ld-linux-x86-64.so.2" ;; + ppc64) + install -d "$DESTDIR/lib64" + ln -s "$PREFIX/lib/ld64.so.1" \ + "$DESTDIR/lib64/ld64.so.1" ;; + *) + loader=$(basename $(ls "$DESTDIR$PREFIX"/lib/ld-linux*)) + ln -s "$PREFIX/lib/$loader" "$DESTDIR/lib/$loader" + esac +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-fhs-dirs.morph b/strata/build-essential/stage2-fhs-dirs.morph new file mode 100644 index 00000000..c2cadef4 --- /dev/null +++ b/strata/build-essential/stage2-fhs-dirs.morph @@ -0,0 +1,67 @@ +name: stage2-fhs-dirs +kind: chunk +description: create the FHS 2.3 directory hierarchy and the usual files +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- sh ./create-fhs-dirs "$DESTDIR" +- rmdir "$DESTDIR/bin" +- ln -s "$PREFIX/bin" "$DESTDIR/bin" +- install -m 644 passwd "$DESTDIR/etc/passwd" +- install -m 600 shadow "$DESTDIR/etc/shadow" +- install -m 644 interfaces "$DESTDIR/etc/network/interfaces" +- install -m 644 group "$DESTDIR/etc/group" +- install -m 644 ld.so.conf "$DESTDIR/etc/ld.so.conf" +- install -m 644 issue "$DESTDIR/etc/issue" +- install -m 644 services "$DESTDIR/etc/services" +- install -m 644 protocols "$DESTDIR/etc/protocols" +- echo baserock > "$DESTDIR"/etc/hostname +post-install-commands: [] +devices: +- type: c + filename: /dev/console + gid: 0 + major: 5 + minor: 1 + permissions: '0600' + uid: 0 +- type: c + filename: /dev/full + gid: 0 + major: 1 + minor: 7 + permissions: '0666' + uid: 0 +- type: c + filename: /dev/null + gid: 0 + major: 1 + minor: 3 + permissions: '0666' + uid: 0 +- type: c + filename: /dev/urandom + gid: 0 + major: 1 + minor: 9 + permissions: '0666' + uid: 0 +- type: c + filename: /dev/zero + gid: 0 + major: 1 + minor: 5 + permissions: '0666' + uid: 0 +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-gawk.morph b/strata/build-essential/stage2-gawk.morph new file mode 100644 index 00000000..f4aaafab --- /dev/null +++ b/strata/build-essential/stage2-gawk.morph @@ -0,0 +1,24 @@ +name: stage2-gawk +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- STAGE2_SYSROOT="$(dirname $(pwd))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false + LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" ./configure --prefix="$PREFIX" --disable-nls + --build=$(sh config.guess) --host=$TARGET_STAGE1 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- STAGE2_SYSROOT="$(dirname $(pwd))" make +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-gcc-fixed-headers.morph b/strata/build-essential/stage2-gcc-fixed-headers.morph new file mode 100644 index 00000000..c7f1563a --- /dev/null +++ b/strata/build-essential/stage2-gcc-fixed-headers.morph @@ -0,0 +1,27 @@ +name: stage2-gcc-fixed-headers +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- | + libgcc_dir=$(dirname $($TARGET_STAGE1-gcc -print-libgcc-file-name)) + sysroot="$(dirname "$(pwd)")" + target_libgcc_dir="${libgcc_dir#$sysroot}" + mkdir -p "$DESTDIR/$target_libgcc_dir/include-fixed" + cat "gcc/limitx.h" "gcc/glimits.h" "gcc/limity.h" \ + >"$DESTDIR/$target_libgcc_dir/include-fixed/limits.h" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-gcc.morph b/strata/build-essential/stage2-gcc.morph new file mode 100644 index 00000000..265fd23d --- /dev/null +++ b/strata/build-essential/stage2-gcc.morph @@ -0,0 +1,55 @@ +name: stage2-gcc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir o +- | + export STAGE2_SYSROOT="$(dirname $(pwd))" + export CC="$TARGET_STAGE1-gcc --sysroot=$STAGE2_SYSROOT" + export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" + cd o && ../configure \ + $(../morph-arch-config) \ + `# [1]` --build=$(sh ../config.guess) \ + --host=$TARGET_STAGE1 \ + --target=$TARGET_STAGE1 \ + --prefix="$PREFIX" \ + `# [2]` --with-local-prefix=$PREFIX \ + `# [3]` --with-build-sysroot="$STAGE2_SYSROOT" \ + --disable-bootstrap \ + --enable-clocale=gnu --enable-shared --enable-threads=posix \ + `# [4]` --enable-languages=c \ + `# [5]` --libdir=$PREFIX/lib \ + --disable-libgomp --disable-multilib --disable-nls \ + --without-cloog --without-ppl \ + --with-mpfr-include="$(pwd)/../mpfr/src" \ + --with-mpfr-lib="$(pwd)/mpfr/src/.libs" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- | + export STAGE2_SYSROOT="$(dirname $(pwd))" + cd o && make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd o && make DESTDIR="$DESTDIR" install +- | + if [ "$(echo $TARGET | cut -c -6)" = "x86_64" ]; then + libdir=lib64 + else + libdir=lib + fi + + install -d "$DESTDIR/lib" + ln -s "$PREFIX/$libdir/libgcc_s.so" "$DESTDIR/lib/" + ln -s "$PREFIX/$libdir/libgcc_s.so.1" "$DESTDIR/lib/" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-linux-api-headers.morph b/strata/build-essential/stage2-linux-api-headers.morph new file mode 100644 index 00000000..57579471 --- /dev/null +++ b/strata/build-essential/stage2-linux-api-headers.morph @@ -0,0 +1,26 @@ +name: stage2-linux-api-headers +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make mrproper +- | + export ARCH=$(./morph-arch) + make INSTALL_HDR_PATH=dest headers_install +- install -d "$DESTDIR${PREFIX-/usr}/include" +- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-make.morph b/strata/build-essential/stage2-make.morph new file mode 100644 index 00000000..509eba39 --- /dev/null +++ b/strata/build-essential/stage2-make.morph @@ -0,0 +1,24 @@ +name: stage2-make +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- STAGE2_SYSROOT="$(dirname $(pwd))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false + LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" ./configure --prefix="$PREFIX" --disable-nls + --build=$(sh config/config.guess) --host=$TARGET_STAGE1 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- STAGE2_SYSROOT="$(dirname $(pwd))" make +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/stage2-reset-specs.morph b/strata/build-essential/stage2-reset-specs.morph new file mode 100644 index 00000000..cf20f015 --- /dev/null +++ b/strata/build-essential/stage2-reset-specs.morph @@ -0,0 +1,26 @@ +name: stage2-reset-specs +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- | + STAGE2_SYSROOT="$(dirname "$(pwd)")" + specs_dir="$(dirname $($TARGET_STAGE1-gcc -print-libgcc-file-name))" + target_specs_dir="$DESTDIR/${specs_dir#$STAGE2_SYSROOT}" + mkdir -p "$target_specs_dir" + ln -s "temporary specs removed by baserock bootstrap" "$target_specs_dir/specs" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/build-essential/zlib.morph b/strata/build-essential/zlib.morph new file mode 100644 index 00000000..917ddfd3 --- /dev/null +++ b/strata/build-essential/zlib.morph @@ -0,0 +1,23 @@ +name: zlib +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/ceph-service.morph b/strata/ceph-service.morph index 92ecb417..c797bbe8 100644 --- a/ceph-service.morph +++ b/strata/ceph-service.morph @@ -1,25 +1,31 @@ name: ceph-service kind: stratum +description: '' build-depends: -- morph: foundation +- morph: strata/foundation.morph +products: [] chunks: - name: nspr + morph: strata/ceph-service/nspr.morph repo: upstream:nspr-hg ref: a6ee84946475c1fb7624973af28163f6da247c0d unpetrify-ref: baserock/morph build-depends: [] - name: nss + morph: strata/ceph-service/nss.morph repo: upstream:nss ref: ee1c99a3c8c29f50a91ab28f2f7b7773f6355487 unpetrify-ref: baserock/morph build-depends: - nspr - name: libaio + morph: strata/ceph-service/libaio.morph repo: upstream:libaio ref: 262e589ea4ac3d1ff809648c8f2caa3836e69b25 unpetrify-ref: baserock/morph build-depends: [] - name: keyutils + morph: strata/ceph-service/keyutils.morph repo: upstream:keyutils ref: 116417bce1e1df06a918de5e9e63f6ba88e2f4f5 unpetrify-ref: baserock/morph @@ -41,6 +47,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: leveldb + morph: strata/ceph-service/leveldb.morph repo: upstream:leveldb ref: 0f0ed46e70967365c851243663689e156fe1b7b5 unpetrify-ref: baserock/morph @@ -53,11 +60,13 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: boost + morph: strata/ceph-service/boost.morph repo: upstream:boost-tarball ref: 026fc3d84a27e84a61d0f4c26f011a68271a0d6e unpetrify-ref: baserock/markdoffman/morph build-depends: [] - name: ceph + morph: strata/ceph-service/ceph.morph repo: upstream:ceph ref: 8fdf1df512b73bad0eb695cdf9cbf2d09f0327d4 unpetrify-ref: baserock/morph diff --git a/strata/ceph-service/boost.morph b/strata/ceph-service/boost.morph new file mode 100644 index 00000000..7766c0b0 --- /dev/null +++ b/strata/ceph-service/boost.morph @@ -0,0 +1,23 @@ +name: boost +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./bootstrap.sh +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- ./b2 || true +post-build-commands: [] +pre-install-commands: [] +install-commands: +- ./b2 install --prefix=$DESTDIR$PREFIX || true +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ceph-service/ceph.morph b/strata/ceph-service/ceph.morph new file mode 100644 index 00000000..e6797b7c --- /dev/null +++ b/strata/ceph-service/ceph.morph @@ -0,0 +1,33 @@ +name: ceph +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --with-nss --prefix="$PREFIX" --sysconfdir=/etc --without-fuse --without-libatomic-ops +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +- install -D -m 755 src/init-ceph $DESTDIR/etc/init.d/ceph +- install -d $DESTDIR/etc/ceph +- install -D -d $DESTDIR/var/lib/ceph +- install -d $DESTDIR/var/lib/ceph/mon +- install -d $DESTDIR/var/lib/ceph/osd +- install -d $DESTDIR/var/lib/ceph/mds +- install -d $DESTDIR/var/lib/ceph/tmp +- install -d $DESTDIR/var/lib/ceph/bootstrap-mds +- install -d $DESTDIR/var/lib/ceph/bootstrap-osd +- install -D -d $DESTDIR/var/log/ceph +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ceph-service/keyutils.morph b/strata/ceph-service/keyutils.morph new file mode 100644 index 00000000..6798857b --- /dev/null +++ b/strata/ceph-service/keyutils.morph @@ -0,0 +1,23 @@ +name: keyutils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make clean +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" LIBDIR="$PREFIX/lib" USRLIBDIR="$PREFIX/lib" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ceph-service/leveldb.morph b/strata/ceph-service/leveldb.morph new file mode 100644 index 00000000..7e8e1f85 --- /dev/null +++ b/strata/ceph-service/leveldb.morph @@ -0,0 +1,22 @@ +name: leveldb +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- ./install.sh +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ceph-service/libaio.morph b/strata/ceph-service/libaio.morph new file mode 100644 index 00000000..005a49ef --- /dev/null +++ b/strata/ceph-service/libaio.morph @@ -0,0 +1,23 @@ +name: libaio +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make clean +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make prefix="$DESTDIR$PREFIX" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ceph-service/nspr.morph b/strata/ceph-service/nspr.morph new file mode 100644 index 00000000..00e9d210 --- /dev/null +++ b/strata/ceph-service/nspr.morph @@ -0,0 +1,22 @@ +name: nspr +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix=$PREFIX --with-mozilla --with-pthreads $([ $(uname -m) = x86_64 + ] && echo --enable-64bit) +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ceph-service/nss.morph b/strata/ceph-service/nss.morph new file mode 100644 index 00000000..002ddbd2 --- /dev/null +++ b/strata/ceph-service/nss.morph @@ -0,0 +1,22 @@ +name: nss +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --libdir="$PREFIX/lib" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/cloudinit-support.morph b/strata/cloudinit-support.morph index 1790ab8c..f8cfb347 100644 --- a/cloudinit-support.morph +++ b/strata/cloudinit-support.morph @@ -2,9 +2,10 @@ name: cloudinit-support kind: stratum description: A stratum with cloudinit to fit a system in the OpenStack cloud. build-depends: -- morph: build-essential -- morph: core -- morph: foundation +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +products: [] chunks: - name: configobj repo: upstream:configobj @@ -17,6 +18,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: python-prettytable + morph: strata/cloudinit-support/python-prettytable.morph repo: upstream:python-prettytable ref: 941133673e5a0003cd5ce1b6db2a51cf3307d9c1 unpetrify-ref: baserock/morph @@ -43,6 +45,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: cloud-init + morph: strata/cloudinit-support/cloud-init.morph repo: upstream:cloud-init ref: 130d51acc5b0becd64e7007f9dfe41a6e022eaec unpetrify-ref: baserock/morph diff --git a/strata/cloudinit-support/cloud-init.morph b/strata/cloudinit-support/cloud-init.morph new file mode 100644 index 00000000..4b0b8999 --- /dev/null +++ b/strata/cloudinit-support/cloud-init.morph @@ -0,0 +1,22 @@ +name: cloud-init +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: python-distutils +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: +- mkdir -p "$DESTDIR"/lib/systemd/system +- cp systemd/* "$DESTDIR"/lib/systemd/system/ +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/cloudinit-support/python-prettytable.morph b/strata/cloudinit-support/python-prettytable.morph new file mode 100644 index 00000000..a512f9a9 --- /dev/null +++ b/strata/cloudinit-support/python-prettytable.morph @@ -0,0 +1,22 @@ +name: python-prettytable +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd src && python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd src && python setup.py install --prefix "$PREFIX" --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/connectivity.morph b/strata/connectivity.morph index 44d61ce0..0de4dc92 100644 --- a/connectivity.morph +++ b/strata/connectivity.morph @@ -1,7 +1,9 @@ name: connectivity kind: stratum +description: '' build-depends: -- morph: genivi-foundation +- morph: strata/genivi-foundation.morph +products: [] chunks: - name: libnl repo: upstream:libnl @@ -9,6 +11,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: wpa_supplicant + morph: strata/connectivity/wpa_supplicant.morph repo: upstream:hostap ref: 1cdfb99c3a04235697dc6979b9eb5418861e42f8 unpetrify-ref: baserock/genivi/morph @@ -20,6 +23,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: connman + morph: strata/connectivity/connman.morph repo: upstream:connman ref: 9951ba7a0353cfc884e96833c64e58c1bcae3f44 unpetrify-ref: baserock/1.24 diff --git a/strata/connectivity/connman.morph b/strata/connectivity/connman.morph new file mode 100644 index 00000000..7c4584aa --- /dev/null +++ b/strata/connectivity/connman.morph @@ -0,0 +1,22 @@ +name: connman +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./bootstrap +- ./configure --prefix="$PREFIX" --disable-wispr --disable-client LIBS=-lncurses +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/connectivity/wpa_supplicant.morph b/strata/connectivity/wpa_supplicant.morph new file mode 100644 index 00000000..b8251900 --- /dev/null +++ b/strata/connectivity/wpa_supplicant.morph @@ -0,0 +1,23 @@ +name: wpa_supplicant +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- sed -i 's/^CONFIG_READLINE=y$//' wpa_supplicant/.config +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make -C wpa_supplicant +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make -C wpa_supplicant DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/core.morph b/strata/core.morph index 04f0b2d4..0ddfaf9c 100644 --- a/core.morph +++ b/strata/core.morph @@ -3,7 +3,8 @@ kind: stratum description: Core components of a Baserock base system that are build tools required for the BSP and Foundation strata, but a step above build-essential build-depends: -- morph: build-essential +- morph: strata/build-essential.morph +products: [] chunks: - name: sqlite3 repo: upstream:sqlite3 @@ -11,53 +12,63 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: cmake + morph: strata/core/cmake.morph repo: upstream:cmake ref: 99c4f0a49237633372f218a44e3503e0a2bddae6 unpetrify-ref: baserock/morph build-depends: [] - name: gdbm + morph: strata/core/gdbm.morph repo: upstream:gdbm ref: 51871d08a48ff781186f7a7b22ec69a1db38eb4c unpetrify-ref: baserock/build-essential build-depends: [] - name: gettext + morph: strata/core/gettext.morph repo: upstream:gettext ref: 3898e324f07c05404b63d71f0e519f352fb1e072 unpetrify-ref: baserock/build-essential build-depends: [] - name: m4 + morph: strata/core/m4.morph repo: upstream:m4 ref: d533342af991401d865de9b037ac03cdc9bd852e unpetrify-ref: baserock/build-essential build-depends: [] - name: mini-utils + morph: strata/core/mini-utils.morph repo: baserock:baserock/mini-utils ref: 5293265b29bbf468ab9d7f3302b19dbc81d0f8b8 unpetrify-ref: master build-depends: [] - name: ncurses + morph: strata/core/ncurses.morph repo: upstream:ncurses ref: 0fe89dc66ec061b839bea3ab451207e2dee757b9 unpetrify-ref: baserock/morph build-depends: [] - name: perl + morph: strata/core/perl.morph repo: upstream:perl ref: 78f9a3c880f11578fb9ff9c7d5f7e34b602d2ad1 unpetrify-ref: baserock/morph build-depends: - gdbm - name: pkg-config + morph: strata/core/pkg-config.morph repo: upstream:pkg-config ref: 67a702a15cf88e270539484929ffa1f42b90c728 unpetrify-ref: baserock/build-essential build-depends: [] - name: texinfo-tarball + morph: strata/core/texinfo-tarball.morph repo: upstream:texinfo-tarball ref: 4843a7f5ff14ac802a56f1cdd49960b25c15702b unpetrify-ref: baserock/morph build-depends: - ncurses - name: autoconf + morph: strata/core/autoconf.morph repo: upstream:autoconf ref: cffdb90be331111ce3fbe4a32320181ec2b92652 unpetrify-ref: baserock/build-essential @@ -65,6 +76,7 @@ chunks: - m4 - perl - name: automake + morph: strata/core/automake.morph repo: upstream:automake ref: 5ac84ae6760252fc60b144a7b4deb41694f95fe7 unpetrify-ref: baserock/morph @@ -73,6 +85,7 @@ chunks: - perl - texinfo-tarball - name: bash + morph: strata/core/bash.morph repo: upstream:bash ref: 783c677f45354b0d6df70e552217ecad8481804f unpetrify-ref: baserock/morph @@ -84,18 +97,21 @@ chunks: build-depends: - perl - name: flex + morph: strata/core/flex.morph repo: upstream:flex ref: de10f98e8a2dc2a021796811490d0f30c3cd90bf unpetrify-ref: baserock/build-essential build-depends: - m4 - name: openssl-new + morph: strata/core/openssl-new.morph repo: upstream:openssl-new ref: ed9938171f80c7534f6eb52f75c2538bca462807 unpetrify-ref: baserock/OpenSSL_1_0_1g build-depends: - perl - name: bzip2 + morph: strata/core/bzip2.morph repo: upstream:bzip2 ref: 8deafa68e52b230018c0318dc7959ff9af3ad2a5 unpetrify-ref: baserock/morph @@ -106,6 +122,7 @@ chunks: unpetrify-ref: baserock/genivi/baseline build-depends: [] - name: cpython + morph: strata/core/cpython.morph repo: upstream:cpython ref: fa86445bfd4fb8e5441d685d92bf8a8ee237f022 unpetrify-ref: baserock/morph-2.7 @@ -116,6 +133,7 @@ chunks: - ncurses - readline - name: libtool + morph: strata/core/libtool.morph repo: upstream:libtool ref: d388b7f2dc628b22006025d01179bc09b8aabe81 unpetrify-ref: baserock/build-essential @@ -130,6 +148,7 @@ chunks: - automake - libtool - name: xz + morph: strata/core/xz.morph repo: upstream:xz ref: 581deedf9d1eadcd84c4fcd23b9fdfe2dde18cc2 unpetrify-ref: baserock/morph @@ -149,6 +168,7 @@ chunks: - libtool - xz - name: curl + morph: strata/core/curl.morph repo: upstream:curl ref: 3c835adc9fe20f7b34df3f0abd4db6ff8b75bc3b unpetrify-ref: baserock/morph @@ -158,6 +178,7 @@ chunks: - libtool - openssl-new - name: libexpat + morph: strata/core/libexpat.morph repo: upstream:libexpat ref: 97678ab13f6d29878997256b6ae1ded679ae5c5c unpetrify-ref: baserock/morph @@ -174,6 +195,7 @@ chunks: - libxml2 - perl - name: git + morph: strata/core/git.morph repo: upstream:git ref: 43efcf42382e87de4aa423e5e1607958ad1717d0 unpetrify-ref: baserock/morph @@ -186,6 +208,7 @@ chunks: - libexpat - openssl-new - name: bison + morph: strata/core/bison.morph repo: upstream:bison ref: 6729ad1c314b179225325dcc1bc684077a71f859 unpetrify-ref: baserock/morph @@ -198,6 +221,7 @@ chunks: - git - mini-utils - name: gperf + morph: strata/core/gperf.morph repo: upstream:gperf ref: 5094e4a539adf845111013f82c2c4fcaec637983 unpetrify-ref: baserock/morph @@ -212,6 +236,7 @@ chunks: - automake - perl - name: util-linux + morph: strata/core/util-linux.morph repo: upstream:util-linux ref: c5c1033c5c7deda8abe3448ec81bbb33c72219e0 unpetrify-ref: baserock/morph @@ -236,18 +261,21 @@ chunks: - flex - texinfo-tarball - name: python-setuptools + morph: strata/core/python-setuptools.morph repo: upstream:python-setuptools ref: 05b07a427a1eae2a51d527f7ac5135a8fd215d77 unpetrify-ref: baserock/morph build-depends: - cpython - name: pyyaml + morph: strata/core/pyyaml.morph repo: upstream:pyyaml ref: d9fbcceaed39d955f6871b07c61dc42f824285c1 unpetrify-ref: baserock/morph build-depends: - python-setuptools - name: shadow + morph: strata/core/shadow.morph repo: upstream:shadow ref: 4f5000a45963c2cc2a403ad23e459f20296b29c2 unpetrify-ref: baserock/4.2 diff --git a/strata/core/autoconf.morph b/strata/core/autoconf.morph new file mode 100644 index 00000000..a28f0313 --- /dev/null +++ b/strata/core/autoconf.morph @@ -0,0 +1,21 @@ +name: autoconf +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/automake.morph b/strata/core/automake.morph new file mode 100644 index 00000000..e6438f1a --- /dev/null +++ b/strata/core/automake.morph @@ -0,0 +1,23 @@ +name: automake +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./bootstrap +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- unset DESTDIR; make +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/bash.morph b/strata/core/bash.morph new file mode 100644 index 00000000..03f03080 --- /dev/null +++ b/strata/core/bash.morph @@ -0,0 +1,23 @@ +name: bash +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure --prefix=/usr --bindir=/bin --without-bash-malloc --with-installed-readline +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/bison.morph b/strata/core/bison.morph new file mode 100644 index 00000000..2a451096 --- /dev/null +++ b/strata/core/bison.morph @@ -0,0 +1,24 @@ +name: bison +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- bash bootstrap --skip-po +- ./configure --prefix=/usr --disable-nls +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/bzip2.morph b/strata/core/bzip2.morph new file mode 100644 index 00000000..854b4d05 --- /dev/null +++ b/strata/core/bzip2.morph @@ -0,0 +1,25 @@ +name: bzip2 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- sed -i -rf bzip2.morph-makefix.sed Makefile +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make -f Makefile-libbz2_so +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" PREFIX="$PREFIX" install +- install libbz2.so* "$DESTDIR$PREFIX/lib" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/cmake.morph b/strata/core/cmake.morph new file mode 100644 index 00000000..a9457048 --- /dev/null +++ b/strata/core/cmake.morph @@ -0,0 +1,23 @@ +name: cmake +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./bootstrap --prefix="$PREFIX" --docdir=/share/doc/cmake --mandir=/share/man +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/cpython.morph b/strata/core/cpython.morph new file mode 100644 index 00000000..bbf50eed --- /dev/null +++ b/strata/core/cpython.morph @@ -0,0 +1,22 @@ +name: cpython +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --enable-shared +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: +- ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2 +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/curl.morph b/strata/core/curl.morph new file mode 100644 index 00000000..6dd5bcd5 --- /dev/null +++ b/strata/core/curl.morph @@ -0,0 +1,24 @@ +name: curl +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./buildconf +- ./configure --disable-manual --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/flex.morph b/strata/core/flex.morph new file mode 100644 index 00000000..a21a69cf --- /dev/null +++ b/strata/core/flex.morph @@ -0,0 +1,27 @@ +name: flex +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make dist_doc_DATA= +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make dist_doc_DATA= DESTDIR="$DESTDIR" install +- ln -s libfl.a "$DESTDIR$PREFIX/lib/libl.a" +- echo "#!$PREFIX/bin/sh" >"$DESTDIR$PREFIX/bin/lex" +- echo 'exec '"$PREFIX"'/bin/flex -l "$@"' >>"$DESTDIR$PREFIX/bin/lex" +- chmod 755 "$DESTDIR$PREFIX/bin/lex" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/gdbm.morph b/strata/core/gdbm.morph new file mode 100644 index 00000000..e3b6f6a1 --- /dev/null +++ b/strata/core/gdbm.morph @@ -0,0 +1,23 @@ +name: gdbm +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --enable-libgdbm-compat --disable-nls +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make MANS= INFO_DEPS= +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make MANS= INFO_DEPS= DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/gettext.morph b/strata/core/gettext.morph new file mode 100644 index 00000000..c4b24935 --- /dev/null +++ b/strata/core/gettext.morph @@ -0,0 +1,23 @@ +name: gettext +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make EXAMPLESPOFILES= +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make EXAMPLESPOFILES= DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/git.morph b/strata/core/git.morph new file mode 100644 index 00000000..3958a16e --- /dev/null +++ b/strata/core/git.morph @@ -0,0 +1,22 @@ +name: git +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make prefix=${PREFIX-/usr} all PYTHON_PATH=${PREFIX-/usr}/bin/python NO_TCLTK=YesPlease +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make prefix=${PREFIX-/usr} install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/gperf.morph b/strata/core/gperf.morph new file mode 100644 index 00000000..6ad327f8 --- /dev/null +++ b/strata/core/gperf.morph @@ -0,0 +1,20 @@ +name: gperf +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/libexpat.morph b/strata/core/libexpat.morph new file mode 100644 index 00000000..82d09a9a --- /dev/null +++ b/strata/core/libexpat.morph @@ -0,0 +1,24 @@ +name: libexpat +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoreconf -i +- ./configure --prefix="${PREFIX-/usr}" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/libtool.morph b/strata/core/libtool.morph new file mode 100644 index 00000000..390c5add --- /dev/null +++ b/strata/core/libtool.morph @@ -0,0 +1,21 @@ +name: libtool +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/m4.morph b/strata/core/m4.morph new file mode 100644 index 00000000..42e0d86f --- /dev/null +++ b/strata/core/m4.morph @@ -0,0 +1,21 @@ +name: m4 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --disable-nls +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/mini-utils.morph b/strata/core/mini-utils.morph new file mode 100644 index 00000000..f380b9da --- /dev/null +++ b/strata/core/mini-utils.morph @@ -0,0 +1,21 @@ +name: mini-utils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make PREFIX="$PREFIX" DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/ncurses.morph b/strata/core/ncurses.morph new file mode 100644 index 00000000..12d3c469 --- /dev/null +++ b/strata/core/ncurses.morph @@ -0,0 +1,24 @@ +name: ncurses +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- LDCONFIG=true ./configure --with-shared --without-debug --enable-widec +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- sh ncurses-morph-postinstall.sh +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/openssl-new.morph b/strata/core/openssl-new.morph new file mode 100644 index 00000000..e9075910 --- /dev/null +++ b/strata/core/openssl-new.morph @@ -0,0 +1,29 @@ +name: openssl-new +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- sed -i -e 's,^LIBNAMES=\\(.*\\) padlock \\(.*\\),LIBNAMES=\\1 \\2,g' engines/Makefile +- | + if [ "$(uname -m)" = "ppc64" ]; then + sh ./Configure linux-ppc64 --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared + else + ./config --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared + fi +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALL_PREFIX="$DESTDIR" install_sw +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/perl.morph b/strata/core/perl.morph new file mode 100644 index 00000000..e51e7f32 --- /dev/null +++ b/strata/core/perl.morph @@ -0,0 +1,30 @@ +name: perl +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- sh Configure -des -Dprefix="$PREFIX" -Darchlib="$PREFIX/lib/perl" -Dprivlib="$PREFIX/share/perl" + -Dbin="$PREFIX/bin" -Dscriptdir="$PREFIX/bin" -Dman1dir="$PREFIX/share/man/man1" + -Dman3dir="$PREFIX/share/man/man3" -Dsiteprefix="$PREFIX" -Dsitearch="$PREFIX/lib/perl" + -Dsitelib="$PREFIX/share/perl" -Dsitebin="$PREFIX/bin" -Dsitescript="$PREFIX/bin" + -Dsiteman1dir="$PREFIX/share/man/man1" -Dsiteman3dir="$PREFIX/share/man/man3" -Dvendorprefix="$PREFIX" + -Dvendorarch="$PREFIX/lib/perl" -Dvendorlib="$PREFIX/share/perl" -Dvendorbin="$PREFIX/bin" + -Dvendorscript="$PREFIX/bin" -Dvendorman1dir="$PREFIX/share/man/man1" -Dvendorman3dir="$PREFIX/share/man/man3" + -Dpager="$PREFIX/bin/less -isR" -Duseshrplib +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/pkg-config.morph b/strata/core/pkg-config.morph new file mode 100644 index 00000000..9f8c7ef0 --- /dev/null +++ b/strata/core/pkg-config.morph @@ -0,0 +1,21 @@ +name: pkg-config +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --with-internal-glib +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/python-setuptools.morph b/strata/core/python-setuptools.morph new file mode 100644 index 00000000..6b2d24f9 --- /dev/null +++ b/strata/core/python-setuptools.morph @@ -0,0 +1,22 @@ +name: python-setuptools +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix=/usr --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/pyyaml.morph b/strata/core/pyyaml.morph new file mode 100644 index 00000000..2489c017 --- /dev/null +++ b/strata/core/pyyaml.morph @@ -0,0 +1,22 @@ +name: pyyaml +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py --without-libyaml build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py --without-libyaml install --prefix="$PREFIX" --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/shadow.morph b/strata/core/shadow.morph new file mode 100644 index 00000000..46979eea --- /dev/null +++ b/strata/core/shadow.morph @@ -0,0 +1,21 @@ +name: shadow +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --with-selinux=no --sysconfdir=/etc +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/texinfo-tarball.morph b/strata/core/texinfo-tarball.morph new file mode 100644 index 00000000..d6569d5b --- /dev/null +++ b/strata/core/texinfo-tarball.morph @@ -0,0 +1,24 @@ +name: texinfo-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- make DESTDIR="$DESTDIR" TEXMF="$PREFIX/share/texmf" install-tex +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/util-linux.morph b/strata/core/util-linux.morph new file mode 100644 index 00000000..a1ce359c --- /dev/null +++ b/strata/core/util-linux.morph @@ -0,0 +1,22 @@ +name: util-linux +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh +- ./configure --prefix="$PREFIX" --disable-use-tty-group +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/core/xz.morph b/strata/core/xz.morph new file mode 100644 index 00000000..50ed919b --- /dev/null +++ b/strata/core/xz.morph @@ -0,0 +1,20 @@ +name: xz +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/cross-bootstrap.morph b/strata/cross-bootstrap.morph index 2f29a2ad..9a519aa6 100644 --- a/cross-bootstrap.morph +++ b/strata/cross-bootstrap.morph @@ -2,7 +2,8 @@ name: cross-bootstrap kind: stratum description: The minimal development tools to build a baserock devel system build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: six repo: upstream:six @@ -10,22 +11,26 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: groff + morph: strata/cross-bootstrap/groff.morph repo: upstream:groff ref: c7017a099f954bb6de60e79c876935b1bf438b9a unpetrify-ref: baserock/morph build-depends: [] - name: openssh + morph: strata/cross-bootstrap/openssh.morph repo: upstream:openssh ref: 233514106dcde5ac61a70f1043de563122e2f1c9 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 @@ -48,6 +53,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: cmdtest + morph: strata/cross-bootstrap/cmdtest.morph repo: upstream:cmdtest ref: 62fa7e08f76a5b6bb8410add49c40656b3e73acd unpetrify-ref: baserock/morph @@ -61,6 +67,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: pyfilesystem + morph: strata/cross-bootstrap/pyfilesystem.morph repo: upstream:pyfilesystem ref: 821f7db1ce3a3e1ac53fa514ddacbc2871eac0f6 unpetrify-ref: baserock/morph @@ -76,6 +83,7 @@ chunks: - python-coverage-test-runner - pyfilesystem - name: rsync + morph: strata/cross-bootstrap/rsync.morph repo: upstream:rsync ref: 9faf8e0ccff2755cd019ff64d8322226a214b013 unpetrify-ref: baserock/morph diff --git a/strata/cross-bootstrap/cmdtest.morph b/strata/cross-bootstrap/cmdtest.morph new file mode 100644 index 00000000..90b81f61 --- /dev/null +++ b/strata/cross-bootstrap/cmdtest.morph @@ -0,0 +1,22 @@ +name: cmdtest +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix=/usr --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/cross-bootstrap/groff.morph b/strata/cross-bootstrap/groff.morph new file mode 100644 index 00000000..559ab673 --- /dev/null +++ b/strata/cross-bootstrap/groff.morph @@ -0,0 +1,25 @@ +name: groff +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- PAGE=A4 ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- ln -s eqn "$DESTDIR$PREFIX/bin/geqn" +- ln -s tbl "$DESTDIR$PREFIX/bin/gtbl" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/cross-bootstrap/openssh.morph b/strata/cross-bootstrap/openssh.morph new file mode 100644 index 00000000..2feb9180 --- /dev/null +++ b/strata/cross-bootstrap/openssh.morph @@ -0,0 +1,43 @@ +name: openssh +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoreconf -if +- | + OPENSSL_SEEDS_ITSELF=yes ./configure \ + --prefix="$PREFIX" --sysconfdir=/etc/ssh \ + --datadir="$PREFIX/share/sshd" \ + --libexecdir="$PREFIX/lib/openssh" \ + --with-privsep-path=/var/lib/sshd +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- | + sed -e "s|@prefix@|$PREFIX|g" \ + -e 's|@STARTUP_SCRIPT_SHELL@|/bin/sh|g' \ + -e 's|@sysconfdir@|/etc/ssh|g' \ + -e 's|@COMMENT_OUT_ECC@||g' \ + sshd-keygen.in >sshd-keygen +- sed -e "s|@prefix@|$PREFIX|g" opensshd.service.in >opensshd.service +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR/$PREFIX/sbin" +- chmod go= "$DESTDIR"/var/lib/sshd +- install -m 744 sshd-keygen "$DESTDIR/$PREFIX/sbin/sshd-keygen" +- install -m 755 contrib/ssh-copy-id "$DESTDIR/$PREFIX/bin/ssh-copy-id" +- mkdir -p "$DESTDIR/lib/systemd/system/multi-user.target.wants" +- install -m 644 opensshd.service "$DESTDIR/lib/systemd/system/opensshd.service" +- ln -s ../opensshd.service "$DESTDIR/lib/systemd/system/multi-user.target.wants/opensshd.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/cross-bootstrap/pyfilesystem.morph b/strata/cross-bootstrap/pyfilesystem.morph new file mode 100644 index 00000000..1306796e --- /dev/null +++ b/strata/cross-bootstrap/pyfilesystem.morph @@ -0,0 +1,22 @@ +name: pyfilesystem +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix="$PREFIX" --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/cross-bootstrap/python-coveragepy.morph b/strata/cross-bootstrap/python-coveragepy.morph new file mode 100644 index 00000000..65bcbe85 --- /dev/null +++ b/strata/cross-bootstrap/python-coveragepy.morph @@ -0,0 +1,22 @@ +name: python-coveragepy +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix=/usr --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/cross-bootstrap/python-ttystatus.morph b/strata/cross-bootstrap/python-ttystatus.morph new file mode 100644 index 00000000..68d12926 --- /dev/null +++ b/strata/cross-bootstrap/python-ttystatus.morph @@ -0,0 +1,22 @@ +name: python-ttystatus +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix=/usr --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/cross-bootstrap/rsync.morph b/strata/cross-bootstrap/rsync.morph new file mode 100644 index 00000000..aaa8d0e3 --- /dev/null +++ b/strata/cross-bootstrap/rsync.morph @@ -0,0 +1,22 @@ +name: rsync +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make proto +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/cross-tools.morph b/strata/cross-tools.morph index 2fb4d59d..f7c45581 100644 --- a/cross-tools.morph +++ b/strata/cross-tools.morph @@ -2,7 +2,8 @@ name: cross-tools kind: stratum description: Tools used together with cross compilers build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: patchelf repo: upstream:patchelf diff --git a/cxmanage.morph b/strata/cxmanage.morph index b8c0ad07..fd46e742 100644 --- a/cxmanage.morph +++ b/strata/cxmanage.morph @@ -2,7 +2,8 @@ name: cxmanage kind: stratum description: All the tools for calxeda management build-depends: -- morph: tools +- morph: strata/tools.morph +products: [] chunks: - name: ipmitool repo: upstream:ipmitool @@ -10,6 +11,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: pexpect + morph: strata/cxmanage/pexpect.morph repo: upstream:pexpect ref: 7a8455f21bb45020f3594c59fc8c85cf738e147c unpetrify-ref: baserock/morph diff --git a/strata/cxmanage/pexpect.morph b/strata/cxmanage/pexpect.morph new file mode 100644 index 00000000..16a39816 --- /dev/null +++ b/strata/cxmanage/pexpect.morph @@ -0,0 +1,24 @@ +name: pexpect +kind: chunk +description: | + Pexpect is a pure Python module that accomplishes behaviour similar to Expect +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- cd pexpect && make +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd pexpect && python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd pexpect && python setup.py install --prefix "$PREFIX" --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/databases.morph b/strata/databases.morph index 5abc7244..e5b338a0 100644 --- a/databases.morph +++ b/strata/databases.morph @@ -2,8 +2,9 @@ name: databases kind: stratum description: some popular databases build-depends: -- morph: tools -- morph: nfs +- morph: strata/tools.morph +- morph: strata/nfs.morph +products: [] chunks: - name: postgresql repo: upstream:postgresql @@ -11,6 +12,7 @@ chunks: unpetrify-ref: REL9_3_4 build-depends: [] - name: redis + morph: strata/databases/redis.morph repo: upstream:redis ref: 9ee59fca9c5c429185d35779c2d5db64005091b0 unpetrify-ref: baserock/3.0 diff --git a/strata/databases/redis.morph b/strata/databases/redis.morph new file mode 100644 index 00000000..5c7647c5 --- /dev/null +++ b/strata/databases/redis.morph @@ -0,0 +1,22 @@ +name: redis +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make PREFIX="$DESTDIR/$PREFIX" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/distbuild.morph b/strata/distbuild.morph index 9a2d1087..6731203c 100644 --- a/distbuild.morph +++ b/strata/distbuild.morph @@ -2,9 +2,10 @@ name: distbuild kind: stratum description: Morph distributed build software build-depends: -- morph: foundation -- morph: core -- morph: tools +- morph: strata/foundation.morph +- morph: strata/core.morph +- morph: strata/tools.morph +products: [] chunks: - name: bottle repo: upstream:bottle diff --git a/enlightenment.morph b/strata/enlightenment.morph index 752dd68d..0dcf0f95 100644 --- a/enlightenment.morph +++ b/strata/enlightenment.morph @@ -2,31 +2,36 @@ name: enlightenment kind: stratum description: Enlightenment Desktop and Window Manager build-depends: -- morph: tools -- morph: x-generic -- morph: lua -- morph: audio-bluetooth -- morph: multimedia-gstreamer-0.10 -- morph: connectivity +- morph: strata/tools.morph +- morph: strata/x-generic.morph +- morph: strata/lua.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/multimedia-gstreamer-0.10.morph +- morph: strata/connectivity.morph +products: [] chunks: - name: efl + morph: strata/enlightenment/efl.morph repo: upstream:enlightenment/efl ref: 8f9b565e79552f09a39507ce802786b1fe773d2d unpetrify-ref: baserock/morph build-depends: [] - name: elementary + morph: strata/enlightenment/elementary.morph repo: upstream:enlightenment/elementary ref: e4c97ddffea9c91a291e1a6a7c6ebd1bbf47629a unpetrify-ref: baserock/morph build-depends: - efl - name: evas_generic_loaders + morph: strata/enlightenment/evas_generic_loaders.morph repo: upstream:enlightenment/evas_generic_loaders ref: ddbdaa35201f4ef64f1a3f3b067a99e84c14565a unpetrify-ref: baserock/morph build-depends: - efl - name: enlightenment + morph: strata/enlightenment/enlightenment.morph repo: upstream:enlightenment/enlightenment ref: 041b8d14a22f9e4c7f34abe8b0f9a3a1f5933146 unpetrify-ref: baserock/morph @@ -34,6 +39,7 @@ chunks: - efl - elementary - name: imlib2 + morph: strata/enlightenment/imlib2.morph repo: upstream:enlightenment/imlib2 ref: 6d02661a4c57771888304960ce62d4fdf587be8f unpetrify-ref: baserock/morph @@ -42,6 +48,7 @@ chunks: - elementary - enlightenment - name: libast + morph: strata/enlightenment/libast.morph repo: upstream:enlightenment/libast ref: 0dbc0a5df55474bf61ca166be40e8de2d9e3a031 unpetrify-ref: baserock/morph @@ -51,6 +58,7 @@ chunks: - enlightenment - imlib2 - name: eterm + morph: strata/enlightenment/eterm.morph repo: upstream:enlightenment/eterm ref: 097234f1f27709ff2444e303350764ea3b80b3ad unpetrify-ref: baserock/morph diff --git a/strata/enlightenment/efl.morph b/strata/enlightenment/efl.morph new file mode 100644 index 00000000..808d30df --- /dev/null +++ b/strata/enlightenment/efl.morph @@ -0,0 +1,25 @@ +name: efl +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=/usr --with-tests=none --disable-fribidi --disable-image-loader-gif + --disable-image-loader-tiff --disable-pulseaudio --disable-gstreamer --disable-audio + --disable-physics +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make VPATH=/usr/lib64 +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" VPATH=/usr/lib64 install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/enlightenment/elementary.morph b/strata/enlightenment/elementary.morph new file mode 100644 index 00000000..b14a39c6 --- /dev/null +++ b/strata/enlightenment/elementary.morph @@ -0,0 +1,23 @@ +name: elementary +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/enlightenment/enlightenment.morph b/strata/enlightenment/enlightenment.morph new file mode 100644 index 00000000..191a2885 --- /dev/null +++ b/strata/enlightenment/enlightenment.morph @@ -0,0 +1,23 @@ +name: enlightenment +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/enlightenment/eterm.morph b/strata/enlightenment/eterm.morph new file mode 100644 index 00000000..17e347de --- /dev/null +++ b/strata/enlightenment/eterm.morph @@ -0,0 +1,23 @@ +name: eterm +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/enlightenment/evas_generic_loaders.morph b/strata/enlightenment/evas_generic_loaders.morph new file mode 100644 index 00000000..21137f86 --- /dev/null +++ b/strata/enlightenment/evas_generic_loaders.morph @@ -0,0 +1,23 @@ +name: evas_generic_loaders +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/enlightenment/imlib2.morph b/strata/enlightenment/imlib2.morph new file mode 100644 index 00000000..7a91c167 --- /dev/null +++ b/strata/enlightenment/imlib2.morph @@ -0,0 +1,23 @@ +name: imlib2 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/enlightenment/libast.morph b/strata/enlightenment/libast.morph new file mode 100644 index 00000000..73ed3eae --- /dev/null +++ b/strata/enlightenment/libast.morph @@ -0,0 +1,23 @@ +name: libast +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/erlang.morph b/strata/erlang.morph index bf553eb9..85112f02 100644 --- a/erlang.morph +++ b/strata/erlang.morph @@ -2,9 +2,11 @@ name: erlang kind: stratum description: stratum for erlang/otp and stuff build-depends: -- morph: tools +- morph: strata/tools.morph +products: [] chunks: - name: erlang + morph: strata/erlang/erlang.morph repo: upstream:erlang ref: d307c9520644d17d5f7597c0154888e2d570b107 unpetrify-ref: baserock/morph diff --git a/strata/erlang/erlang.morph b/strata/erlang/erlang.morph new file mode 100644 index 00000000..22c739dc --- /dev/null +++ b/strata/erlang/erlang.morph @@ -0,0 +1,24 @@ +name: erlang +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./otp_build autoconf +- ./configure --prefix=$PREFIX +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/foundation.morph b/strata/foundation.morph index b246a68d..a2dc3371 100644 --- a/foundation.morph +++ b/strata/foundation.morph @@ -2,30 +2,36 @@ name: foundation kind: stratum description: Basic userland runtime system build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: attr + morph: strata/foundation/attr.morph repo: upstream:attr ref: be4a3c1d50981d2cbbe2cfb55498cac51909c37f unpetrify-ref: baserock/morph build-depends: [] - name: groff + morph: strata/foundation/groff.morph repo: upstream:groff ref: c7017a099f954bb6de60e79c876935b1bf438b9a unpetrify-ref: baserock/morph build-depends: [] - name: kmod + morph: strata/foundation/kmod.morph repo: upstream:kmod ref: 7f3b215d4e848afa74aea20a4c64f0cc1ef30eb4 unpetrify-ref: baserock/morph build-depends: [] - name: libcap2 + morph: strata/foundation/libcap2.morph repo: upstream:libcap2 ref: 4f7cca1bc9c2a274edb39d351b65747010d3ba7b unpetrify-ref: baserock/morph build-depends: - attr - name: libffi + morph: strata/foundation/libffi.morph repo: upstream:libffi ref: 77d4586cc47e8f4c02278afbc220145bba0d442b unpetrify-ref: baserock/morph @@ -36,6 +42,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: pciutils + morph: strata/foundation/pciutils.morph repo: upstream:pciutils ref: bae04bd0473c68a2f21b7712a627abb08fd84b29 unpetrify-ref: baserock/morph @@ -59,12 +66,14 @@ chunks: build-depends: - glib - name: dbus-pre + morph: strata/foundation/dbus-pre.morph repo: upstream:dbus ref: f2e4718bf42f507684949ebf484aa94df42abbbe unpetrify-ref: baserock/v1.8.0 build-depends: - glib - name: systemd + morph: strata/foundation/systemd.morph repo: upstream:systemd ref: a77af3ec96015b2382ea31020d0a14b482d10a76 unpetrify-ref: baserock/morph @@ -76,16 +85,19 @@ chunks: - pciutils - usbutils - name: lzo + morph: strata/foundation/lzo.morph repo: upstream:lzo ref: 2cdfe9375f1145603d002c12be950062ae54da21 unpetrify-ref: baserock/morph build-depends: [] - name: fuse + morph: strata/foundation/fuse.morph repo: upstream:fuse ref: 13ee8f62d4aa3360adb6956fb30da0c858928fa2 unpetrify-ref: baserock/genivi/morph build-depends: [] - name: btrfs-progs + morph: strata/foundation/btrfs-progs.morph repo: upstream:btrfs-progs ref: 304f215abb836811e6d78e0a3da53d48aa0e7ca7 unpetrify-ref: baserock/morph @@ -93,6 +105,7 @@ chunks: - attr - lzo - name: dbus + morph: strata/foundation/dbus.morph repo: upstream:dbus ref: f2e4718bf42f507684949ebf484aa94df42abbbe unpetrify-ref: baserock/v1.8.0 @@ -100,6 +113,7 @@ chunks: - glib - systemd - name: help2man + morph: strata/foundation/help2man.morph repo: upstream:help2man ref: 0191a5f61525f8deea2ae8bdfea88190d85b6a71 unpetrify-ref: baserock/morph @@ -110,17 +124,20 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: openssh + morph: strata/foundation/openssh.morph repo: upstream:openssh ref: 233514106dcde5ac61a70f1043de563122e2f1c9 unpetrify-ref: baserock/morph build-depends: - groff - name: patch + morph: strata/foundation/patch.morph repo: upstream:patch ref: 9a16dcb97aac1a26af4372d95bd62b84f3f1264a unpetrify-ref: baserock/morph build-depends: [] - name: tbdiff + morph: strata/foundation/tbdiff.morph repo: baserock:baserock/tbdiff ref: 6a361a1a174667e2998578e49acd64932eb2c8a1 unpetrify-ref: master diff --git a/strata/foundation/attr.morph b/strata/foundation/attr.morph new file mode 100644 index 00000000..59158a90 --- /dev/null +++ b/strata/foundation/attr.morph @@ -0,0 +1,14 @@ +name: attr +kind: chunk +description: +- 'The DESTDIR patch idea comes from: http://pkgs.fedoraproject.org/gitweb/?p=attr.git;a=blob_plain;f=attr-2.4.32-build.patch' +configure-commands: +- sed -i -e 's,PKG_\(.*\)_DIR\t= ,PKG_\1_DIR\t= \$(DESTDIR),g' include/builddefs.in +- sed -i -e 's,\$\$LOCAL_CONFIGURE_OPTIONS,\$(LOCAL_CONFIGURE_OPTIONS),g' Makefile +- make LOCAL_CONFIGURE_OPTIONS="--prefix=/usr --exec-prefix=/usr --sbindir=/usr/sbin + --bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --enable-lib64=yes --includedir=/usr/include + --mandir=/usr/share/man --datadir=/usr/share" configure +build-commands: +- make SHELL=/bin/bash +install-commands: +- make SHELL=/bin/bash DESTDIR="$DESTDIR" install-lib install-dev diff --git a/strata/foundation/btrfs-progs.morph b/strata/foundation/btrfs-progs.morph new file mode 100644 index 00000000..89308eba --- /dev/null +++ b/strata/foundation/btrfs-progs.morph @@ -0,0 +1,22 @@ +name: btrfs-progs +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" prefix="$PREFIX" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/dbus-pre.morph b/strata/foundation/dbus-pre.morph new file mode 100644 index 00000000..5dc69c85 --- /dev/null +++ b/strata/foundation/dbus-pre.morph @@ -0,0 +1,24 @@ +name: dbus-pre +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- sh autogen.sh --no-configure +- ./configure --prefix="$PREFIX" --localstatedir=/var --sysconfdir=/etc --disable-systemd +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make XMLTO_OUTPUT= +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make XMLTO_OUTPUT= DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/dbus.morph b/strata/foundation/dbus.morph new file mode 100644 index 00000000..b5993271 --- /dev/null +++ b/strata/foundation/dbus.morph @@ -0,0 +1,24 @@ +name: dbus +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- sh autogen.sh --no-configure +- ./configure --prefix="$PREFIX" --localstatedir=/var --sysconfdir=/etc +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make XMLTO_OUTPUT= +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make XMLTO_OUTPUT= DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/fuse.morph b/strata/foundation/fuse.morph new file mode 100644 index 00000000..95591147 --- /dev/null +++ b/strata/foundation/fuse.morph @@ -0,0 +1,22 @@ +name: fuse +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./makeconf.sh +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/groff.morph b/strata/foundation/groff.morph new file mode 100644 index 00000000..559ab673 --- /dev/null +++ b/strata/foundation/groff.morph @@ -0,0 +1,25 @@ +name: groff +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- PAGE=A4 ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- ln -s eqn "$DESTDIR$PREFIX/bin/geqn" +- ln -s tbl "$DESTDIR$PREFIX/bin/gtbl" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/help2man.morph b/strata/foundation/help2man.morph new file mode 100644 index 00000000..c00cb9a0 --- /dev/null +++ b/strata/foundation/help2man.morph @@ -0,0 +1,24 @@ +name: help2man +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoreconf -i +- ./configure --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/kmod.morph b/strata/foundation/kmod.morph new file mode 100644 index 00000000..88964751 --- /dev/null +++ b/strata/foundation/kmod.morph @@ -0,0 +1,34 @@ +name: kmod +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- rm -rf libkmod/docs +- sed -i -e'/SUBDIRS/{s/\S*doc\S*//;s/\S*man\S*//}' Makefile.am +- sed -i -e'/AC_CONFIG_FILES(\[/,/])/{/docs/d}' configure.ac +- autoreconf -fiv +- ./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc --without-xz + --with-zlib --disable-manpages +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" pkgconfigdir=/usr/lib/pkgconfig install +- ln -s kmod "$DESTDIR"/bin/modprobe +- ln -s kmod "$DESTDIR"/bin/lsmod +- ln -s kmod "$DESTDIR"/bin/rmmod +- ln -s kmod "$DESTDIR"/bin/insmod +- ln -s kmod "$DESTDIR"/bin/modinfo +- ln -s kmod "$DESTDIR"/bin/depmod +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/libcap2.morph b/strata/foundation/libcap2.morph new file mode 100644 index 00000000..ad707d4b --- /dev/null +++ b/strata/foundation/libcap2.morph @@ -0,0 +1,22 @@ +name: libcap2 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make prefix="$PREFIX" +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make prefix="$PREFIX" DESTDIR="$DESTDIR" RAISE_SETFCAP=no install lib=lib +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/libffi.morph b/strata/foundation/libffi.morph new file mode 100644 index 00000000..5f6e0e7f --- /dev/null +++ b/strata/foundation/libffi.morph @@ -0,0 +1,24 @@ +name: libffi +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR"/ install +- mkdir -p "$DESTDIR"/usr/include +- cp "$TARGET"/include/ffi.h "$DESTDIR"/usr/include/ +- cp "$TARGET"/include/ffitarget.h "$DESTDIR"/usr/include/ +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/lzo.morph b/strata/foundation/lzo.morph new file mode 100644 index 00000000..f626bf76 --- /dev/null +++ b/strata/foundation/lzo.morph @@ -0,0 +1,21 @@ +name: lzo +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --enable-shared=yes --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/openssh.morph b/strata/foundation/openssh.morph new file mode 100644 index 00000000..2feb9180 --- /dev/null +++ b/strata/foundation/openssh.morph @@ -0,0 +1,43 @@ +name: openssh +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoreconf -if +- | + OPENSSL_SEEDS_ITSELF=yes ./configure \ + --prefix="$PREFIX" --sysconfdir=/etc/ssh \ + --datadir="$PREFIX/share/sshd" \ + --libexecdir="$PREFIX/lib/openssh" \ + --with-privsep-path=/var/lib/sshd +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- | + sed -e "s|@prefix@|$PREFIX|g" \ + -e 's|@STARTUP_SCRIPT_SHELL@|/bin/sh|g' \ + -e 's|@sysconfdir@|/etc/ssh|g' \ + -e 's|@COMMENT_OUT_ECC@||g' \ + sshd-keygen.in >sshd-keygen +- sed -e "s|@prefix@|$PREFIX|g" opensshd.service.in >opensshd.service +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR/$PREFIX/sbin" +- chmod go= "$DESTDIR"/var/lib/sshd +- install -m 744 sshd-keygen "$DESTDIR/$PREFIX/sbin/sshd-keygen" +- install -m 755 contrib/ssh-copy-id "$DESTDIR/$PREFIX/bin/ssh-copy-id" +- mkdir -p "$DESTDIR/lib/systemd/system/multi-user.target.wants" +- install -m 644 opensshd.service "$DESTDIR/lib/systemd/system/opensshd.service" +- ln -s ../opensshd.service "$DESTDIR/lib/systemd/system/multi-user.target.wants/opensshd.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/patch.morph b/strata/foundation/patch.morph new file mode 100644 index 00000000..cd552544 --- /dev/null +++ b/strata/foundation/patch.morph @@ -0,0 +1,24 @@ +name: patch +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- bash bootstrap --skip-po +- ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin --disable-nls +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/pciutils.morph b/strata/foundation/pciutils.morph new file mode 100644 index 00000000..d50f13e6 --- /dev/null +++ b/strata/foundation/pciutils.morph @@ -0,0 +1,26 @@ +name: pciutils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- make ZLIB=no lib/config.mk +- echo PREFIX=$PREFIX >>lib/config.mk +- echo MANDIR=$PREFIX/share/man >>lib/config.mk +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- make DESTDIR="$DESTDIR" install-lib +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/systemd.morph b/strata/foundation/systemd.morph new file mode 100644 index 00000000..a1bc79ee --- /dev/null +++ b/strata/foundation/systemd.morph @@ -0,0 +1,35 @@ +name: systemd +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- sh autogen.sh +- ./configure --prefix="$PREFIX" --enable-xz --disable-manpages --sysconfdir=/etc + --localstatedir=/var --libdir="$PREFIX/lib" --libexecdir="$PREFIX/libexec" --with-rootprefix= + --with-rootlibdir=/lib --with-firmware-path=/lib/firmware/updates:/lib/firmware +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR"/sbin +- ln -s /lib/systemd/systemd "$DESTDIR"/sbin/init +- for f in telinit runlevel shutdown poweroff reboot halt; do ln -s /bin/systemctl + "$DESTDIR/sbin/$f"; done +- rm -f "$DESTDIR/etc/udev/rules.d/80-net-name-slot.rules" +- touch "$DESTDIR/etc/udev/rules.d/80-net-name-slot.rules" +- sed -e 's|@sushell@|/bin/sh|g' units/debug-shell.service.in >"$DESTDIR/etc/systemd/system/debug-shell.service" +- sed -r -e '/Options=/s/,?strictatime//' "$DESTDIR/lib/systemd/system/tmp.mount" + >"$DESTDIR/etc/systemd/system/tmp.mount" +- touch "$DESTDIR/etc/machine-id" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/foundation/tbdiff.morph b/strata/foundation/tbdiff.morph new file mode 100644 index 00000000..936c35a8 --- /dev/null +++ b/strata/foundation/tbdiff.morph @@ -0,0 +1,20 @@ +name: tbdiff +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/genivi-foundation.morph b/strata/genivi-foundation.morph index fa29487e..5b019129 100644 --- a/genivi-foundation.morph +++ b/strata/genivi-foundation.morph @@ -2,7 +2,8 @@ name: genivi-foundation kind: stratum description: Basic components needed by the GENIVI baseline. build-depends: -- morph: foundation +- morph: strata/foundation.morph +products: [] chunks: - name: dbus-glib repo: upstream:dbus-glib @@ -10,6 +11,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: linuxquota + morph: strata/genivi-foundation/linuxquota.morph repo: upstream:linuxquota ref: 0804c89a16736533e440771dc42a15e5d0223902 unpetrify-ref: baserock/genivi/morph diff --git a/strata/genivi-foundation/linuxquota.morph b/strata/genivi-foundation/linuxquota.morph new file mode 100644 index 00000000..49aa2ba5 --- /dev/null +++ b/strata/genivi-foundation/linuxquota.morph @@ -0,0 +1,24 @@ +name: linuxquota +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make "RPCGEN=rpcgen -Y /usr/bin" +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make ROOTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/genivi-wayland-armv7-versatile.morph b/strata/genivi-wayland-armv7-versatile.morph index 13d08834..4860c8ed 100644 --- a/genivi-wayland-armv7-versatile.morph +++ b/strata/genivi-wayland-armv7-versatile.morph @@ -2,11 +2,12 @@ name: genivi-wayland-armv7-versatile kind: stratum description: Software components designed by genivi, for genivi. build-depends: -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: genivi -- morph: wayland-armv7-versatile +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/genivi.morph +- morph: strata/wayland-armv7-versatile.morph +products: [] chunks: - name: layer_management-wayland repo: upstream:layer_management diff --git a/genivi-wayland-x86_64-generic.morph b/strata/genivi-wayland-x86_64-generic.morph index 6ff3aa66..e127dfdf 100644 --- a/genivi-wayland-x86_64-generic.morph +++ b/strata/genivi-wayland-x86_64-generic.morph @@ -2,11 +2,12 @@ name: genivi-wayland-x86_64-generic kind: stratum description: Software components designed by genivi, for genivi. build-depends: -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: genivi -- morph: wayland-x86_64-generic +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/genivi.morph +- morph: strata/wayland-x86_64-generic.morph +products: [] chunks: - name: layer_management-wayland repo: upstream:layer_management diff --git a/genivi-x-generic.morph b/strata/genivi-x-generic.morph index 9ebea3e2..32a14c49 100644 --- a/genivi-x-generic.morph +++ b/strata/genivi-x-generic.morph @@ -2,10 +2,12 @@ name: genivi-x-generic kind: stratum description: Software components designed by genivi, for genivi. build-depends: -- morph: genivi -- morph: x-generic +- morph: strata/genivi.morph +- morph: strata/x-generic.morph +products: [] chunks: - name: layer_management + morph: strata/genivi-x-generic/layer_management.morph repo: upstream:layer_management ref: 206d6709d0a3b3932a02b30ccacaa02b3eab8493 unpetrify-ref: baserock/genivi/baseline diff --git a/strata/genivi-x-generic/layer_management.morph b/strata/genivi-x-generic/layer_management.morph new file mode 100644 index 00000000..5460e690 --- /dev/null +++ b/strata/genivi-x-generic/layer_management.morph @@ -0,0 +1,23 @@ +name: layer_management +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- mkdir -p build && cd build && cmake .. -DWITH_GLESv2_LIB=ON +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make -C build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make -C build install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/genivi.morph b/strata/genivi.morph index caf7ff99..9eb2fd46 100644 --- a/genivi.morph +++ b/strata/genivi.morph @@ -2,7 +2,8 @@ name: genivi kind: stratum description: Software components designed by genivi, for genivi. build-depends: -- morph: genivi-foundation +- morph: strata/genivi-foundation.morph +products: [] chunks: - name: DLT-daemon repo: upstream:DLT-daemon @@ -10,17 +11,20 @@ chunks: unpetrify-ref: v2.10.0 build-depends: [] - name: node-startup-controller + morph: strata/genivi/node-startup-controller.morph repo: upstream:node-startup-controller ref: c78fddaddc24a2c49f5ef18896c93403575295ae unpetrify-ref: baserock/morph build-depends: - DLT-daemon - name: googletest + morph: strata/genivi/googletest.morph repo: upstream:googletest ref: 5e3f7d3db4c16e2ba8b42b0bf4689f7d2abbcb08 unpetrify-ref: baserock/morph build-depends: [] - name: googlemock + morph: strata/genivi/googlemock.morph repo: upstream:googlemock ref: 0e9998c140079046c396a0e7033bb465abae79cd unpetrify-ref: baserock/morph @@ -48,6 +52,7 @@ chunks: - genivi-common-api-runtime - genivi-common-api-dbus-runtime - name: itzam-tarball + morph: strata/genivi/itzam-tarball.morph repo: upstream:itzam-tarball ref: 4ebcf671416927b64475da7b810b6016c847bf73 unpetrify-ref: baserock/genivi/baseline diff --git a/strata/genivi/googlemock.morph b/strata/genivi/googlemock.morph new file mode 100644 index 00000000..f4327db0 --- /dev/null +++ b/strata/genivi/googlemock.morph @@ -0,0 +1,24 @@ +name: googlemock +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- mkdir -p gtest/m4 +- ln -s /usr/share/gtest/m4/acx_pthread.m4 gtest/m4/acx_pthread.m4 +- autoreconf -ivf +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/genivi/googletest.morph b/strata/genivi/googletest.morph new file mode 100644 index 00000000..b72ac160 --- /dev/null +++ b/strata/genivi/googletest.morph @@ -0,0 +1,23 @@ +name: googletest +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p $DESTDIR/usr/share/gtest/m4 +- install -m 644 m4/acx_pthread.m4 $DESTDIR/usr/share/gtest/m4 +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/genivi/itzam-tarball.morph b/strata/genivi/itzam-tarball.morph new file mode 100644 index 00000000..69c3a0a4 --- /dev/null +++ b/strata/genivi/itzam-tarball.morph @@ -0,0 +1,25 @@ +name: itzam-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: +- sed -i 's/GENERIC_LIBRARY_NAME=libitzam/GENERIC_LIBRARY_NAME=itzam/g' configure.ac +- mkdir m4 +- touch NEWS README AUTHORS ChangeLog +- autoreconf -ivf +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: +- install -D -m644 libitzam.pc "$DESTDIR$PREFIX/lib/pkgconfig/libitzam.pc" +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/genivi/node-startup-controller.morph b/strata/genivi/node-startup-controller.morph new file mode 100644 index 00000000..66a18f8b --- /dev/null +++ b/strata/genivi/node-startup-controller.morph @@ -0,0 +1,24 @@ +name: node-startup-controller +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- sh autogen.sh +- ./configure --prefix="$PREFIX" --sysconfdir=/etc +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/gitlab.morph b/strata/gitlab.morph index bc345e1e..883cb847 100644 --- a/gitlab.morph +++ b/strata/gitlab.morph @@ -2,19 +2,23 @@ name: gitlab kind: stratum description: gitlab components for server, ci etc build-depends: -- morph: ruby +- morph: strata/ruby.morph +products: [] chunks: - name: gitlab-ce + morph: strata/gitlab/gitlab-ce.morph repo: upstream:gitlab/gitlab-ce ref: 53d98a77d34cbfddaef9eb25cf5f651a78550425 unpetrify-ref: baserock/v7.0.0 build-depends: [] - name: gitlab-ci + morph: strata/gitlab/gitlab-ci.morph repo: upstream:gitlab/gitlab-ci ref: c74044d65dec2ba8311e242c84e07a67abd52d37 unpetrify-ref: baserock/morph build-depends: [] - name: gitlab-shell + morph: strata/gitlab/gitlab-shell.morph repo: upstream:gitlab/gitlab-shell ref: 0b4106d57223c666d9360339fd3790174aa43800 unpetrify-ref: baserock/morph diff --git a/strata/gitlab/gitlab-ce.morph b/strata/gitlab/gitlab-ce.morph new file mode 100644 index 00000000..2b991787 --- /dev/null +++ b/strata/gitlab/gitlab-ce.morph @@ -0,0 +1,23 @@ +name: gitlab-ce +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: null +post-configure-commands: [] +pre-build-commands: [] +build-commands: null +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR/$PREFIX/share/gitlab-ce" +- cp -R * "$DESTDIR/$PREFIX/share/gitlab-ce" +- chmod -R a+rX,g+w "$DESTDIR/$PREFIX/share/gitlab-ce" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/gitlab/gitlab-ci.morph b/strata/gitlab/gitlab-ci.morph new file mode 100644 index 00000000..0df2a3c5 --- /dev/null +++ b/strata/gitlab/gitlab-ci.morph @@ -0,0 +1,23 @@ +name: gitlab-ci +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: null +post-configure-commands: [] +pre-build-commands: [] +build-commands: null +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR/$PREFIX/share/gitlab-ci" +- cp -R * "$DESTDIR/$PREFIX/share/gitlab-ci" +- chmod -R a+rX,g+w "$DESTDIR/$PREFIX/share/gitlab-ci" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/gitlab/gitlab-shell.morph b/strata/gitlab/gitlab-shell.morph new file mode 100644 index 00000000..601cdbe8 --- /dev/null +++ b/strata/gitlab/gitlab-shell.morph @@ -0,0 +1,23 @@ +name: gitlab-shell +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: null +post-configure-commands: [] +pre-build-commands: [] +build-commands: null +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR/$PREFIX/share/gitlab-shell" +- cp -R * "$DESTDIR/$PREFIX/share/gitlab-shell" +- chmod -R a+rX,g+w "$DESTDIR/$PREFIX/share/gitlab-shell" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/gtk-deps.morph b/strata/gtk-deps.morph index 27904da3..93baec68 100644 --- a/gtk-deps.morph +++ b/strata/gtk-deps.morph @@ -2,12 +2,14 @@ name: gtk-deps kind: stratum description: the GTK+ dependencies stratum build-depends: -- morph: foundation -- morph: x-common -- morph: x-generic -- morph: wayland-x86_64-generic +- morph: strata/foundation.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +- morph: strata/wayland-x86_64-generic.morph +products: [] chunks: - name: shared-mime-info + morph: strata/gtk-deps/shared-mime-info.morph repo: upstream:shared-mime-info ref: 0d440d85a126ff8d535d4f70f2203a76a21d5f71 unpetrify-ref: baserock/morph @@ -23,6 +25,7 @@ chunks: unpetrify-ref: Release-v4-0-3 build-depends: [] - name: gdk-pixbuf + morph: strata/gtk-deps/gdk-pixbuf.morph repo: upstream:gdk-pixbuf ref: bc45874c7ba5a6a95f032b48ab78115b3e2238ad unpetrify-ref: baserock/morph diff --git a/strata/gtk-deps/gdk-pixbuf.morph b/strata/gtk-deps/gdk-pixbuf.morph new file mode 100644 index 00000000..10c3b87c --- /dev/null +++ b/strata/gtk-deps/gdk-pixbuf.morph @@ -0,0 +1,24 @@ +name: gdk-pixbuf +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR=$DESTDIR install +- install -d "$DESTDIR/lib/systemd/system/multi-user.target.wants" +- install -m 0644 systemd/gdk-pixbuf-cache-loaders.service "$DESTDIR/lib/systemd/system" +- ln -s ../gdk-pixbuf-cache-loaders.service "$DESTDIR/lib/systemd/system/multi-user.target.wants/gdk-pixbuf-cache-loaders.service" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/gtk-deps/shared-mime-info.morph b/strata/gtk-deps/shared-mime-info.morph new file mode 100644 index 00000000..05fcd987 --- /dev/null +++ b/strata/gtk-deps/shared-mime-info.morph @@ -0,0 +1,20 @@ +name: shared-mime-info +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/gtk2.morph b/strata/gtk2.morph index 28cd4dbf..0ba3969a 100644 --- a/gtk2.morph +++ b/strata/gtk2.morph @@ -2,10 +2,12 @@ name: gtk2 kind: stratum description: the gtk2 stratum build-depends: -- morph: gtk-deps -- morph: x-generic +- morph: strata/gtk-deps.morph +- morph: strata/x-generic.morph +products: [] chunks: - name: gtk+ + morph: strata/gtk2/gtk+.morph repo: upstream:gtk+ ref: 52de99559e5b5bf09160e5a5a164d0ca5fede98c unpetrify-ref: baserock/xfce-build diff --git a/strata/gtk2/gtk+.morph b/strata/gtk2/gtk+.morph new file mode 100644 index 00000000..bbf1ca8f --- /dev/null +++ b/strata/gtk2/gtk+.morph @@ -0,0 +1,25 @@ +name: gtk+ +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- gdk-pixbuf-query-loaders > loader.cache +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make install DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/gtk3.morph b/strata/gtk3.morph index 335336ce..b3a95678 100644 --- a/gtk3.morph +++ b/strata/gtk3.morph @@ -2,11 +2,13 @@ name: gtk3 kind: stratum description: the gtk3 stratum build-depends: -- morph: gtk-deps -- morph: x-generic -- morph: wayland-x86_64-generic +- morph: strata/gtk-deps.morph +- morph: strata/x-generic.morph +- morph: strata/wayland-x86_64-generic.morph +products: [] chunks: - name: gtk3 + morph: strata/gtk3/gtk3.morph repo: upstream:gtk+ ref: f36770fd0566cafb0a0803e5d80047a41ae68f7d unpetrify-ref: baserock/morph-gtk-3 diff --git a/strata/gtk3/gtk3.morph b/strata/gtk3/gtk3.morph new file mode 100644 index 00000000..317f8bd4 --- /dev/null +++ b/strata/gtk3/gtk3.morph @@ -0,0 +1,25 @@ +name: gtk3 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- gdk-pixbuf-query-loaders > loader.cache +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make install DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/initramfs-utils.morph b/strata/initramfs-utils.morph index d59dcec7..06298748 100644 --- a/initramfs-utils.morph +++ b/strata/initramfs-utils.morph @@ -2,12 +2,11 @@ name: initramfs-utils kind: stratum description: stratum for initramfs build-depends: -- morph: build-essential +- morph: strata/build-essential.morph +products: [] chunks: -# A more minimal initramfs would be a single executable as /init, -# statically linked against musl. -# But, we can get away with a single script that uses busybox for now. - name: initramfs-scripts + morph: strata/initramfs-utils/initramfs-scripts.morph repo: baserock:baserock/initramfs-scripts ref: a97dea93d28ba272613029e46a8a0b1f699729d8 unpetrify-ref: master diff --git a/strata/initramfs-utils/initramfs-scripts.morph b/strata/initramfs-utils/initramfs-scripts.morph new file mode 100644 index 00000000..ac2a106b --- /dev/null +++ b/strata/initramfs-utils/initramfs-scripts.morph @@ -0,0 +1,21 @@ +name: initramfs-scripts +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- install -m 755 init "$DESTDIR/init" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/lua.morph b/strata/lua.morph index 8ad1dfec..74230f74 100644 --- a/lua.morph +++ b/strata/lua.morph @@ -2,9 +2,11 @@ name: lua kind: stratum description: Interpreter for the lua scripting language. build-depends: -- morph: tools +- morph: strata/tools.morph +products: [] chunks: - name: lua + morph: strata/lua/lua.morph repo: upstream:lua ref: bedbdc0f03bca4fe97200ddf9c3d6cb210b45888 unpetrify-ref: baserock/5.1-morph diff --git a/strata/lua/lua.morph b/strata/lua/lua.morph new file mode 100644 index 00000000..5ffae2f9 --- /dev/null +++ b/strata/lua/lua.morph @@ -0,0 +1,26 @@ +name: lua +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h +- sed -i -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make debian_linux INSTALL_TOP="$PREFIX" RPATH="$PREFIX/lib" +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALL_TOP="$DESTDIR/$PREFIX" debian_install +- mkdir -p $DESTDIR/$PREFIX/lib/pkgconfig +- cp lua5.1.pc $DESTDIR/$PREFIX/lib/pkgconfig/ +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/multimedia-gstreamer-0.10.morph b/strata/multimedia-gstreamer-0.10.morph index c7a44e87..0f5a207b 100644 --- a/multimedia-gstreamer-0.10.morph +++ b/strata/multimedia-gstreamer-0.10.morph @@ -2,9 +2,10 @@ name: multimedia-gstreamer-0.10 kind: stratum description: Codecs build-depends: -- morph: core -- morph: foundation -- morph: audio-bluetooth +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/audio-bluetooth.morph +products: [] chunks: - name: orc repo: upstream:orc diff --git a/multimedia.morph b/strata/multimedia.morph index 639b324a..4382e087 100644 --- a/multimedia.morph +++ b/strata/multimedia.morph @@ -2,7 +2,8 @@ name: multimedia kind: stratum description: Codecs build-depends: -- morph: audio-bluetooth +- morph: strata/audio-bluetooth.morph +products: [] chunks: - name: orc repo: upstream:orc diff --git a/nfs.morph b/strata/nfs.morph index e0e5f2a1..bfdbb398 100644 --- a/nfs.morph +++ b/strata/nfs.morph @@ -2,7 +2,8 @@ name: nfs kind: stratum description: NFS utilities build-depends: -- morph: foundation +- morph: strata/foundation.morph +products: [] chunks: - name: libevent repo: upstream:libevent @@ -10,16 +11,19 @@ chunks: unpetrify-ref: release-2.0.20-stable build-depends: [] - name: tcp-wrappers + morph: strata/nfs/tcp-wrappers.morph repo: upstream:tcp-wrappers ref: 23b65f29b324b65a057a3fa87613b788856d6e4e unpetrify-ref: baserock/fedora-patches build-depends: [] - name: ti-rpc + morph: strata/nfs/ti-rpc.morph repo: upstream:ti-rpc ref: c5a7a19070e74115fc9c26aa6f3dfec1da220c1f unpetrify-ref: baserock/master build-depends: [] - name: rpcbind + morph: strata/nfs/rpcbind.morph repo: upstream:rpcbind ref: aa3ac0d86c258d3e355ae59df31a96da795ecdfa unpetrify-ref: baserock/master @@ -27,6 +31,7 @@ chunks: - ti-rpc - tcp-wrappers - name: nfs-utils + morph: strata/nfs/nfs-utils.morph repo: upstream:nfs-utils ref: 08baf3bc2f66a1ca6401191e19380028d2fc2c6d unpetrify-ref: baserock/master diff --git a/strata/nfs/nfs-utils.morph b/strata/nfs/nfs-utils.morph new file mode 100644 index 00000000..ec801493 --- /dev/null +++ b/strata/nfs/nfs-utils.morph @@ -0,0 +1,27 @@ +name: nfs-utils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --disable-nfsv4 --disable-nfsv41 --disable-gss --with-rpcgen=internal +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR"/lib/systemd/system +- install -m644 proc-fs-nfsd.mount "$DESTDIR"/lib/systemd/system +- install -m644 nfs-mountd.service "$DESTDIR"/lib/systemd/system +- install -m644 nfs-server.service "$DESTDIR"/lib/systemd/system +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/nfs/rpcbind.morph b/strata/nfs/rpcbind.morph new file mode 100644 index 00000000..65a32e37 --- /dev/null +++ b/strata/nfs/rpcbind.morph @@ -0,0 +1,26 @@ +name: rpcbind +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --enable-libwrap --with-rpcuser=nobody --enable-warmstarts +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR"/lib/systemd/system +- install -m644 rpcbind.service "$DESTDIR"/lib/systemd/system +- install -m644 rpcbind.socket "$DESTDIR"/lib/systemd/system +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/nfs/tcp-wrappers.morph b/strata/nfs/tcp-wrappers.morph new file mode 100644 index 00000000..cb115a50 --- /dev/null +++ b/strata/nfs/tcp-wrappers.morph @@ -0,0 +1,25 @@ +name: tcp-wrappers +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make MAJOR=0 MINOR=7 REL=6 linux +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR"/"$PREFIX"/include +- install -p -m644 tcpd.h "$DESTDIR"/"$PREFIX"/include +- mkdir -p "$DESTDIR"/"$PREFIX"/lib +- cp -a libwrap.so* "$DESTDIR"/"$PREFIX"/lib +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/nfs/ti-rpc.morph b/strata/nfs/ti-rpc.morph new file mode 100644 index 00000000..7c589177 --- /dev/null +++ b/strata/nfs/ti-rpc.morph @@ -0,0 +1,22 @@ +name: ti-rpc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --sysconfdir=/etc +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/nodejs.morph b/strata/nodejs.morph index aece2d2a..2b841b7f 100644 --- a/nodejs.morph +++ b/strata/nodejs.morph @@ -2,7 +2,8 @@ name: nodejs kind: stratum description: Stratum for nodejs related stuff build-depends: -- morph: core +- morph: strata/core.morph +products: [] chunks: - name: node repo: upstream:node diff --git a/openstack-clients.morph b/strata/openstack-clients.morph index fc130872..45689002 100644 --- a/openstack-clients.morph +++ b/strata/openstack-clients.morph @@ -2,7 +2,8 @@ name: openstack-clients kind: stratum description: A stratum with OpenStack clients, for OpenStack deployments. build-depends: -- morph: tools +- morph: strata/tools.morph +products: [] chunks: - name: jsonschema repo: upstream:jsonschema @@ -28,6 +29,7 @@ chunks: - python-json-pointer - python-json-patch - name: python-prettytable + morph: strata/openstack-clients/python-prettytable.morph repo: upstream:python-prettytable ref: 941133673e5a0003cd5ce1b6db2a51cf3307d9c1 unpetrify-ref: baserock/morph @@ -68,6 +70,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: pytz + morph: strata/openstack-clients/pytz.morph repo: upstream:pytz ref: 384207f01fd5b8bf1eb20cb64c17679084731944 unpetrify-ref: baserock/morph diff --git a/strata/openstack-clients/python-prettytable.morph b/strata/openstack-clients/python-prettytable.morph new file mode 100644 index 00000000..a512f9a9 --- /dev/null +++ b/strata/openstack-clients/python-prettytable.morph @@ -0,0 +1,22 @@ +name: python-prettytable +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd src && python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd src && python setup.py install --prefix "$PREFIX" --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/openstack-clients/pytz.morph b/strata/openstack-clients/pytz.morph new file mode 100644 index 00000000..a0fb2834 --- /dev/null +++ b/strata/openstack-clients/pytz.morph @@ -0,0 +1,22 @@ +name: pytz +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd src && python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd src && python setup.py install --prefix "$PREFIX" --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/qt4-sdk.morph b/strata/qt4-sdk.morph index 88c0974d..2ac20161 100644 --- a/qt4-sdk.morph +++ b/strata/qt4-sdk.morph @@ -2,9 +2,11 @@ name: qt4-sdk kind: stratum description: Qt4 Desktop Environment, IDE and Example Apps build-depends: -- morph: qt4-tools +- morph: strata/qt4-tools.morph +products: [] chunks: - name: qt-creator + morph: strata/qt4-sdk/qt-creator.morph repo: upstream:qt-creator ref: d5a6b10634c1a3271012e9578e016772ef077d59 unpetrify-ref: baserock/morph/2.7 diff --git a/strata/qt4-sdk/qt-creator.morph b/strata/qt4-sdk/qt-creator.morph new file mode 100644 index 00000000..ab4642fd --- /dev/null +++ b/strata/qt4-sdk/qt-creator.morph @@ -0,0 +1,24 @@ +name: qt-creator +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- ./qhelpgenerator.sh +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/qt4-tools.morph b/strata/qt4-tools.morph index 6dfc9b87..7ffd8b92 100644 --- a/qt4-tools.morph +++ b/strata/qt4-tools.morph @@ -2,27 +2,32 @@ name: qt4-tools kind: stratum description: Qt4 Development Libraries and Tools build-depends: -- morph: tools -- morph: x-generic -- morph: multimedia-gstreamer-0.10 +- morph: strata/tools.morph +- morph: strata/x-generic.morph +- morph: strata/multimedia-gstreamer-0.10.morph +products: [] chunks: - name: icu + morph: strata/qt4-tools/icu.morph repo: upstream:icu ref: ba023548a3bff7277cbea4acade3042ce9d8949e unpetrify-ref: baserock/morph build-depends: [] - name: ruby-1.8 + morph: strata/qt4-tools/ruby-1.8.morph repo: upstream:ruby ref: 7a24f1710028d568ad61d0aa49d5178260178d77 unpetrify-ref: baserock/morph/ruby_1_8_7 build-depends: [] - name: ruby-1.9 + morph: strata/qt4-tools/ruby-1.9.morph repo: upstream:ruby ref: cb3ea602294b5038b5f7ac21d3875a2b52342956 unpetrify-ref: baserock/morph/ruby_1_9_3 build-depends: - ruby-1.8 - name: qt4-tools + morph: strata/qt4-tools/qt4-tools.morph repo: upstream:qt4-tools ref: a182f020bc1703c20d86ba18f2f6b4ea8889de84 unpetrify-ref: baserock/morph diff --git a/strata/qt4-tools/icu.morph b/strata/qt4-tools/icu.morph new file mode 100644 index 00000000..53eafedf --- /dev/null +++ b/strata/qt4-tools/icu.morph @@ -0,0 +1,23 @@ +name: icu +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- cd source; ./runConfigureICU Linux --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd source; unset TARGET ; make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd source; unset TARGET ; make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt4-tools/qt4-tools.morph b/strata/qt4-tools/qt4-tools.morph new file mode 100644 index 00000000..e5991a79 --- /dev/null +++ b/strata/qt4-tools/qt4-tools.morph @@ -0,0 +1,32 @@ +name: qt4-tools +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- | + arch=$(uname -m) + if [ "${arch}" != "${arch//arm/}" ] ; then + sed 's/g++-unix.conf)/&\nQMAKE_CXXFLAGS += -fno-strict-volatile-bitfields/' \ + -i mkspecs/linux-g++/qmake.conf + else + echo Running on x86, not modifying qmake.conf + fi +- ./configure -v -prefix /usr -opensource -confirm-license +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- LD_LIBRARY_PATH="$PWD"/lib QT_PLUGIN_PATH="$PWD"/plugins make docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt4-tools/ruby-1.8.morph b/strata/qt4-tools/ruby-1.8.morph new file mode 100644 index 00000000..2774a6af --- /dev/null +++ b/strata/qt4-tools/ruby-1.8.morph @@ -0,0 +1,24 @@ +name: ruby-1.8 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoconf +- ./configure --prefix=/usr --program-suffix=-1.8 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt4-tools/ruby-1.9.morph b/strata/qt4-tools/ruby-1.9.morph new file mode 100644 index 00000000..e506253d --- /dev/null +++ b/strata/qt4-tools/ruby-1.9.morph @@ -0,0 +1,24 @@ +name: ruby-1.9 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoconf +- ./configure --prefix=/usr --enable-shared --with-baseruby=/usr/bin/ruby-1.8 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/qt5-sdk.morph b/strata/qt5-sdk.morph index b26d2271..eec70eb0 100644 --- a/qt5-sdk.morph +++ b/strata/qt5-sdk.morph @@ -2,14 +2,17 @@ name: qt5-sdk kind: stratum description: Qt5 Desktop Environment, IDE and Example Apps build-depends: -- morph: qt5-tools +- morph: strata/qt5-tools.morph +products: [] chunks: - name: qt-creator + morph: strata/qt5-sdk/qt-creator.morph repo: upstream:qt-creator ref: d5a6b10634c1a3271012e9578e016772ef077d59 unpetrify-ref: baserock/morph/2.7 build-depends: [] - name: snowshoe + morph: strata/qt5-sdk/snowshoe.morph repo: upstream:snowshoe ref: 098f931de58072edd5d591cdc4a2ad3c05e83991 unpetrify-ref: baserock/morph diff --git a/strata/qt5-sdk/qt-creator.morph b/strata/qt5-sdk/qt-creator.morph new file mode 100644 index 00000000..ab4642fd --- /dev/null +++ b/strata/qt5-sdk/qt-creator.morph @@ -0,0 +1,24 @@ +name: qt-creator +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- ./qhelpgenerator.sh +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-sdk/snowshoe.morph b/strata/qt5-sdk/snowshoe.morph new file mode 100644 index 00000000..6d5ea776 --- /dev/null +++ b/strata/qt5-sdk/snowshoe.morph @@ -0,0 +1,23 @@ +name: snowshoe +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/qt5-tools.morph b/strata/qt5-tools.morph index 26e57550..954ffa03 100644 --- a/qt5-tools.morph +++ b/strata/qt5-tools.morph @@ -2,45 +2,53 @@ name: qt5-tools kind: stratum description: Qt5 Development Libraries and Tools build-depends: -- morph: tools -- morph: x-generic -- morph: multimedia-gstreamer-0.10 +- morph: strata/tools.morph +- morph: strata/x-generic.morph +- morph: strata/multimedia-gstreamer-0.10.morph +products: [] chunks: - name: icu + morph: strata/qt5-tools/icu.morph repo: upstream:icu ref: ba023548a3bff7277cbea4acade3042ce9d8949e unpetrify-ref: baserock/morph build-depends: [] - name: ruby-1.8 + morph: strata/qt5-tools/ruby-1.8.morph repo: upstream:ruby ref: 7a24f1710028d568ad61d0aa49d5178260178d77 unpetrify-ref: baserock/morph/ruby_1_8_7 build-depends: [] - name: ruby-1.9 + morph: strata/qt5-tools/ruby-1.9.morph repo: upstream:ruby ref: cb3ea602294b5038b5f7ac21d3875a2b52342956 unpetrify-ref: baserock/morph/ruby_1_9_3 build-depends: - ruby-1.8 - name: qtbase + morph: strata/qt5-tools/qtbase.morph repo: upstream:qt5/qtbase ref: 79be8352ced650e98ab0afe89e91cffee4f6a04a unpetrify-ref: baserock/morph build-depends: - icu - name: qtsvg + morph: strata/qt5-tools/qtsvg.morph repo: upstream:qt5/qtsvg ref: 552bf3adcc48c669f9dfbda5818142fb18c9e957 unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtjsbackend + morph: strata/qt5-tools/qtjsbackend.morph repo: upstream:qt5/qtjsbackend ref: c6978bf56f599a3da8c03b1a7e58102aa84223e7 unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtscript + morph: strata/qt5-tools/qtscript.morph repo: upstream:qt5/qtscript ref: d20e99b3bdbcf77b69a92a2ba1b3ca1f1379e7c8 unpetrify-ref: baserock/morph @@ -48,6 +56,7 @@ chunks: - qtbase - qtjsbackend - name: qtdeclarative + morph: strata/qt5-tools/qtdeclarative.morph repo: upstream:qt5/qtdeclarative ref: 774d0310883a9526210c4530bbb9d0af26d88699 unpetrify-ref: baserock/morph @@ -56,6 +65,7 @@ chunks: - qtjsbackend - qtscript - name: qtquick1 + morph: strata/qt5-tools/qtquick1.morph repo: upstream:qt5/qtquick1 ref: b13755a2411dca01e65bb443a399ed130d5dd738 unpetrify-ref: baserock/morph @@ -64,6 +74,7 @@ chunks: - qtjsbackend - qtscript - name: qt3d + morph: strata/qt5-tools/qt3d.morph repo: upstream:qt5/qt3d ref: 805fbf45a54f1b69f4b13f6dc9f962b07c017d3b unpetrify-ref: baserock/morph @@ -73,6 +84,7 @@ chunks: - qtscript - qtdeclarative - name: qtquickcontrols + morph: strata/qt5-tools/qtquickcontrols.morph repo: upstream:qt5/qtquickcontrols ref: acf9e50d52c4d09a1aed9490bb2f3c5de7dce9bb unpetrify-ref: baserock/morph @@ -81,24 +93,28 @@ chunks: - qtjsbackend - qtdeclarative - name: qtsensors + morph: strata/qt5-tools/qtsensors.morph repo: upstream:qt5/qtsensors ref: cd22d77e07af6046be24d0322187a86c9a3c4d1d unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtserialport + morph: strata/qt5-tools/qtserialport.morph repo: upstream:qt5/qtserialport ref: b1abca2eee45e7b8ecf71cb5cd1e77a2821fcac2 unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtx11extras + morph: strata/qt5-tools/qtx11extras.morph repo: upstream:qt5/qtx11extras ref: 3b33afd2814c88002e2efc4955e5b1851aff0c58 unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtwebkit + morph: strata/qt5-tools/qtwebkit.morph repo: upstream:qt5/qtwebkit ref: 15a558c03ea7a35f97dfc0b16024d026d20920be unpetrify-ref: baserock/morph @@ -109,6 +125,7 @@ chunks: - qtjsbackend - qtdeclarative - name: qtwebkit-examples + morph: strata/qt5-tools/qtwebkit-examples.morph repo: upstream:qt5/qtwebkit-examples ref: fdaa2bb5e47d6ca1d3e8c681f88eae0b9d4ae351 unpetrify-ref: baserock/morph @@ -118,24 +135,28 @@ chunks: - qtdeclarative - qtwebkit - name: qtmultimedia + morph: strata/qt5-tools/qtmultimedia.morph repo: upstream:qt5/qtmultimedia ref: 8b73d090f87f88ee3ae4efc437ac866d05df76be unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtxmlpatterns + morph: strata/qt5-tools/qtxmlpatterns.morph repo: upstream:qt5/qtxmlpatterns ref: ed713a904ee55f1c345d2d6c35e77892be96977e unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtdoc + morph: strata/qt5-tools/qtdoc.morph repo: upstream:qt5/qtdoc ref: 674abef4f06bdde57a272d69750e2a4ac5027ea9 unpetrify-ref: baserock/morph build-depends: - qtbase - name: qtgraphicaleffects + morph: strata/qt5-tools/qtgraphicaleffects.morph repo: upstream:qt5/qtgraphicaleffects ref: e41d08f95d74d7309fc976cb62141b78239de975 unpetrify-ref: baserock/morph @@ -144,12 +165,14 @@ chunks: - qtjsbackend - qtdeclarative - name: qtimageformats + morph: strata/qt5-tools/qtimageformats.morph repo: upstream:qt5/qtimageformats ref: 3f7f6126d9832e03a4dcaaca5279220f00126e89 unpetrify-ref: baserock/morph build-depends: - qtbase - name: qttools + morph: strata/qt5-tools/qttools.morph repo: upstream:qt5/qttools ref: 1369d91dd095cd4ea2febe759ef6446e41bd2d80 unpetrify-ref: baserock/morph @@ -159,6 +182,7 @@ chunks: - qtdeclarative - qtwebkit - name: qttranslations + morph: strata/qt5-tools/qttranslations.morph repo: upstream:qt5/qttranslations ref: e91af8e6363a4538f08992b6af51d17b91453080 unpetrify-ref: baserock/morph diff --git a/strata/qt5-tools/icu.morph b/strata/qt5-tools/icu.morph new file mode 100644 index 00000000..53eafedf --- /dev/null +++ b/strata/qt5-tools/icu.morph @@ -0,0 +1,23 @@ +name: icu +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- cd source; ./runConfigureICU Linux --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd source; unset TARGET ; make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd source; unset TARGET ; make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qt3d.morph b/strata/qt5-tools/qt3d.morph new file mode 100644 index 00000000..4fa3032e --- /dev/null +++ b/strata/qt5-tools/qt3d.morph @@ -0,0 +1,25 @@ +name: qt3d +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtbase.morph b/strata/qt5-tools/qtbase.morph new file mode 100644 index 00000000..598a2c41 --- /dev/null +++ b/strata/qt5-tools/qtbase.morph @@ -0,0 +1,30 @@ +name: qtbase +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure -v -prefix /usr -opensource -confirm-license +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- touch /qtbase.build/src/corelib/corelib.pro +- ./bin/qmake -set QDOC /qtbase.build/bin/qdoc +- make html_docs +- ./bin/qmake -unset QDOC +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- ./bin/qmake -set QDOC /qtbase.build/bin/qdoc +- make install_html_docs INSTALL_ROOT=$DESTDIR +- ./bin/qmake -unset QDOC +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtdeclarative.morph b/strata/qt5-tools/qtdeclarative.morph new file mode 100644 index 00000000..773b1281 --- /dev/null +++ b/strata/qt5-tools/qtdeclarative.morph @@ -0,0 +1,25 @@ +name: qtdeclarative +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtdoc.morph b/strata/qt5-tools/qtdoc.morph new file mode 100644 index 00000000..9e38ff5e --- /dev/null +++ b/strata/qt5-tools/qtdoc.morph @@ -0,0 +1,23 @@ +name: qtdoc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtgraphicaleffects.morph b/strata/qt5-tools/qtgraphicaleffects.morph new file mode 100644 index 00000000..767aae1f --- /dev/null +++ b/strata/qt5-tools/qtgraphicaleffects.morph @@ -0,0 +1,23 @@ +name: qtgraphicaleffects +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtimageformats.morph b/strata/qt5-tools/qtimageformats.morph new file mode 100644 index 00000000..1abafc94 --- /dev/null +++ b/strata/qt5-tools/qtimageformats.morph @@ -0,0 +1,25 @@ +name: qtimageformats +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtjsbackend.morph b/strata/qt5-tools/qtjsbackend.morph new file mode 100644 index 00000000..ebd59542 --- /dev/null +++ b/strata/qt5-tools/qtjsbackend.morph @@ -0,0 +1,25 @@ +name: qtjsbackend +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtmultimedia.morph b/strata/qt5-tools/qtmultimedia.morph new file mode 100644 index 00000000..ee12e288 --- /dev/null +++ b/strata/qt5-tools/qtmultimedia.morph @@ -0,0 +1,25 @@ +name: qtmultimedia +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make install_html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtquick1.morph b/strata/qt5-tools/qtquick1.morph new file mode 100644 index 00000000..c4f6e89b --- /dev/null +++ b/strata/qt5-tools/qtquick1.morph @@ -0,0 +1,25 @@ +name: qtquick1 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtquickcontrols.morph b/strata/qt5-tools/qtquickcontrols.morph new file mode 100644 index 00000000..711f9a80 --- /dev/null +++ b/strata/qt5-tools/qtquickcontrols.morph @@ -0,0 +1,25 @@ +name: qtquickcontrols +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtscript.morph b/strata/qt5-tools/qtscript.morph new file mode 100644 index 00000000..63385a0d --- /dev/null +++ b/strata/qt5-tools/qtscript.morph @@ -0,0 +1,25 @@ +name: qtscript +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtsensors.morph b/strata/qt5-tools/qtsensors.morph new file mode 100644 index 00000000..2f28e78e --- /dev/null +++ b/strata/qt5-tools/qtsensors.morph @@ -0,0 +1,25 @@ +name: qtsensors +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtserialport.morph b/strata/qt5-tools/qtserialport.morph new file mode 100644 index 00000000..e0e27645 --- /dev/null +++ b/strata/qt5-tools/qtserialport.morph @@ -0,0 +1,25 @@ +name: qtserialport +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtsvg.morph b/strata/qt5-tools/qtsvg.morph new file mode 100644 index 00000000..05d1babd --- /dev/null +++ b/strata/qt5-tools/qtsvg.morph @@ -0,0 +1,25 @@ +name: qtsvg +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qttools.morph b/strata/qt5-tools/qttools.morph new file mode 100644 index 00000000..41518f52 --- /dev/null +++ b/strata/qt5-tools/qttools.morph @@ -0,0 +1,25 @@ +name: qttools +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- unset TARGET ; make +- unset TARGET ; make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- unset TARGET ; make install INSTALL_ROOT=$DESTDIR +- unset TARGET ; make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qttranslations.morph b/strata/qt5-tools/qttranslations.morph new file mode 100644 index 00000000..e605f840 --- /dev/null +++ b/strata/qt5-tools/qttranslations.morph @@ -0,0 +1,23 @@ +name: qttranslations +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtwebkit-examples.morph b/strata/qt5-tools/qtwebkit-examples.morph new file mode 100644 index 00000000..df204a3f --- /dev/null +++ b/strata/qt5-tools/qtwebkit-examples.morph @@ -0,0 +1,23 @@ +name: qtwebkit-examples +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtwebkit.morph b/strata/qt5-tools/qtwebkit.morph new file mode 100644 index 00000000..e402d600 --- /dev/null +++ b/strata/qt5-tools/qtwebkit.morph @@ -0,0 +1,25 @@ +name: qtwebkit +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- QMAKEPATH=/qtwebkit.build/Tools/qmake/mkspecs qmake WebKit.pro +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtx11extras.morph b/strata/qt5-tools/qtx11extras.morph new file mode 100644 index 00000000..f1e0f5ca --- /dev/null +++ b/strata/qt5-tools/qtx11extras.morph @@ -0,0 +1,25 @@ +name: qtx11extras +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/qtxmlpatterns.morph b/strata/qt5-tools/qtxmlpatterns.morph new file mode 100644 index 00000000..e85c884d --- /dev/null +++ b/strata/qt5-tools/qtxmlpatterns.morph @@ -0,0 +1,25 @@ +name: qtxmlpatterns +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- qmake +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +- make html_docs +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INSTALL_ROOT=$DESTDIR +- make install_html_docs INSTALL_ROOT=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/ruby-1.8.morph b/strata/qt5-tools/ruby-1.8.morph new file mode 100644 index 00000000..2774a6af --- /dev/null +++ b/strata/qt5-tools/ruby-1.8.morph @@ -0,0 +1,24 @@ +name: ruby-1.8 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoconf +- ./configure --prefix=/usr --program-suffix=-1.8 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/qt5-tools/ruby-1.9.morph b/strata/qt5-tools/ruby-1.9.morph new file mode 100644 index 00000000..e506253d --- /dev/null +++ b/strata/qt5-tools/ruby-1.9.morph @@ -0,0 +1,24 @@ +name: ruby-1.9 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoconf +- ./configure --prefix=/usr --enable-shared --with-baseruby=/usr/bin/ruby-1.8 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/ruby.morph b/strata/ruby.morph index 8ba45ccd..6d8be846 100644 --- a/ruby.morph +++ b/strata/ruby.morph @@ -2,9 +2,11 @@ name: ruby kind: stratum description: ruby and things from ruby world build-depends: -- morph: tools +- morph: strata/tools.morph +products: [] chunks: - name: ruby-1.8 + morph: strata/ruby/ruby-1.8.morph repo: upstream:ruby ref: 7a24f1710028d568ad61d0aa49d5178260178d77 unpetrify-ref: baserock/morph/ruby_1_8_7 @@ -15,6 +17,7 @@ chunks: unpetrify-ref: master build-depends: [] - name: ruby + morph: strata/ruby/ruby.morph repo: upstream:ruby ref: 05604af5a6da635b8bca51269db8b433972e82c0 unpetrify-ref: baserock/ruby_2_0_0 @@ -22,8 +25,9 @@ chunks: - ruby-1.8 - libyaml - name: bundler + morph: strata/ruby/bundler.morph repo: upstream:bundler - ref: 0708fbe62617a63300e1cc3b9869cc1280c57ef6 + ref: 0708fbe62617a63300e1cc3b9869cc1280c57ef6 unpetrify-ref: baserock/v1.6.2 build-depends: - ruby diff --git a/strata/ruby/bundler.morph b/strata/ruby/bundler.morph new file mode 100644 index 00000000..f6ed2392 --- /dev/null +++ b/strata/ruby/bundler.morph @@ -0,0 +1,22 @@ +name: bundler +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: null +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- rake build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- gem install ./pkg/*gem --bindir "$DESTDIR/$PREFIX/bin" --install-dir "$DESTDIR/$PREFIX/lib/ruby/gems/2.0.0" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ruby/ruby-1.8.morph b/strata/ruby/ruby-1.8.morph new file mode 100644 index 00000000..2774a6af --- /dev/null +++ b/strata/ruby/ruby-1.8.morph @@ -0,0 +1,24 @@ +name: ruby-1.8 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoconf +- ./configure --prefix=/usr --program-suffix=-1.8 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/ruby/ruby.morph b/strata/ruby/ruby.morph new file mode 100644 index 00000000..ff267685 --- /dev/null +++ b/strata/ruby/ruby.morph @@ -0,0 +1,24 @@ +name: ruby +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- autoconf +- ./configure --prefix=/usr --enable-shared --with-baseruby=/usr/bin/ruby-1.8 +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR=$DESTDIR install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/tools.morph b/strata/tools.morph index f03a3ec1..28d88b78 100644 --- a/tools.morph +++ b/strata/tools.morph @@ -2,7 +2,8 @@ name: tools kind: stratum description: Extra development tools included in the devel system build-depends: -- morph: foundation +- morph: strata/foundation.morph +products: [] chunks: - name: six repo: upstream:six @@ -10,11 +11,13 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: python-ttystatus + morph: strata/tools/python-ttystatus.morph repo: upstream:python-ttystatus ref: 47d871216cea6ce3b9d6efd70e9a0f38ab8604f0 unpetrify-ref: baserock/morph build-depends: [] - name: python-coveragepy + morph: strata/tools/python-coveragepy.morph repo: upstream:python-coveragepy ref: 77d2e3bfd8fb325092aaed37ba1378054d182d19 unpetrify-ref: baserock/morph @@ -37,6 +40,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: cmdtest + morph: strata/tools/cmdtest.morph repo: upstream:cmdtest ref: 62fa7e08f76a5b6bb8410add49c40656b3e73acd unpetrify-ref: baserock/morph @@ -45,16 +49,19 @@ chunks: - python-ttystatus - python-markdown - name: coreutils + morph: strata/tools/coreutils.morph repo: upstream:coreutils ref: 66282c0d87c933218205b5e20ce46708182ac36e unpetrify-ref: baserock/morph build-depends: [] - name: distcc + morph: strata/tools/distcc.morph repo: upstream:distcc ref: c9691a9604fdf9d6711204999787d332b7141692 unpetrify-ref: baserock/morph build-depends: [] - name: e2fsprogs + morph: strata/tools/e2fsprogs.morph repo: upstream:e2fsprogs ref: 485edc675200ff3097cec521c357441a1c2d9b0d unpetrify-ref: baserock/morph @@ -80,11 +87,13 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: lsof + morph: strata/tools/lsof.morph repo: upstream:lsof ref: fffb8558208586338587027c265fd0eca44466be unpetrify-ref: baserock/morph build-depends: [] - name: pyfilesystem + morph: strata/tools/pyfilesystem.morph repo: upstream:pyfilesystem ref: 821f7db1ce3a3e1ac53fa514ddacbc2871eac0f6 unpetrify-ref: baserock/morph @@ -100,6 +109,7 @@ chunks: - python-coverage-test-runner - pyfilesystem - name: git-fat + morph: strata/tools/git-fat.morph repo: upstream:git-fat ref: 208f88d0f0ef04c25e8a231979eb0083f57b1610 unpetrify-ref: baserock/morph @@ -110,6 +120,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: rsync + morph: strata/tools/rsync.morph repo: upstream:rsync ref: 9faf8e0ccff2755cd019ff64d8322226a214b013 unpetrify-ref: baserock/morph @@ -120,31 +131,37 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: vala + morph: strata/tools/vala.morph repo: upstream:vala ref: 4e4a02c03445336237b36723b23a91670ef7621b unpetrify-ref: baserock/bootstrap build-depends: [] - name: vim + morph: strata/tools/vim.morph repo: upstream:vim ref: 592b8c975bf83b4dcf608769bc664a80cb1daf9e unpetrify-ref: baserock/morph build-depends: [] - name: screen + morph: strata/tools/screen.morph repo: upstream:screen ref: 7dd4a9e5f385c96a77e8ee5c977a1dde4c0ff467 unpetrify-ref: baserock/morph build-depends: [] - name: u-boot + morph: strata/tools/u-boot.morph repo: upstream:u-boot ref: fe57382d04b46c37f34cf8d3b3ad876554fd12bf unpetrify-ref: baserock/morph build-depends: [] - name: kexec-tools + morph: strata/tools/kexec-tools.morph repo: upstream:kexec-tools ref: 9359b61ca44980d33c0bee42b9bb2e36e72835dd unpetrify-ref: baserock/morph build-depends: [] - name: device-tree-compiler + morph: strata/tools/device-tree-compiler.morph repo: upstream:device-tree-compiler ref: c92f284c3cf76d471eb27a271de3a51cb45ed058 unpetrify-ref: baserock/morph diff --git a/strata/tools/cmdtest.morph b/strata/tools/cmdtest.morph new file mode 100644 index 00000000..90b81f61 --- /dev/null +++ b/strata/tools/cmdtest.morph @@ -0,0 +1,22 @@ +name: cmdtest +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix=/usr --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/coreutils.morph b/strata/tools/coreutils.morph new file mode 100644 index 00000000..3cef9f2f --- /dev/null +++ b/strata/tools/coreutils.morph @@ -0,0 +1,24 @@ +name: coreutils +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf +- bash bootstrap --skip-po +- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix="$PREFIX" --disable-nls --enable-no-install-program='[,base64,basename,cat,chcon,chgrp,chmod,chown,chroot,cksum,comm,cp,csplit,cut,date,dd,df,dir,dircolors,dirname,du,echo,env,expand,expr,false,fold,ginstall,groups,head,hostid,id,kill,ln,logname,ls,md5sum,mkdir,mkfifo,mknod,mktemp,mv,nice,nohup,od,printenv,printf,pwd,readlink,realpath,rm,rmdir,seq,sha1sum,sha224sum,sha256sum,sha384sum,sha512sum,sleep,sort,split,stat,stty,sum,sync,tac,tail,tee,test,timeout,touch,tr,true,tty,uname,unexpand,uniq,unlink,uptime,users,wc,who,whoami,yes' +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALL_PROGRAM=install DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/device-tree-compiler.morph b/strata/tools/device-tree-compiler.morph new file mode 100644 index 00000000..e316681b --- /dev/null +++ b/strata/tools/device-tree-compiler.morph @@ -0,0 +1,22 @@ +name: device-tree-compiler +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make all +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install DESTDIR="$DESTDIR" PREFIX="$PREFIX" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/distcc.morph b/strata/tools/distcc.morph new file mode 100644 index 00000000..411a7f84 --- /dev/null +++ b/strata/tools/distcc.morph @@ -0,0 +1,22 @@ +name: distcc +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --disable-Werror +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/e2fsprogs.morph b/strata/tools/e2fsprogs.morph new file mode 100644 index 00000000..db7951fb --- /dev/null +++ b/strata/tools/e2fsprogs.morph @@ -0,0 +1,29 @@ +name: e2fsprogs +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- | + ./configure --prefix="$PREFIX" --sysconfdir=/etc \ + --disable-libuuid --disable-uuidd --disable-fsck +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- | + td="$(mktemp -d)" + make DESTDIR="$td" install + find "$td" \( -name blkid -o -name findfs -o -name fsck \) -delete + find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete + mv "$td"/* "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/git-fat.morph b/strata/tools/git-fat.morph new file mode 100644 index 00000000..248c5ba2 --- /dev/null +++ b/strata/tools/git-fat.morph @@ -0,0 +1,21 @@ +name: git-fat +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- install -D -m 755 git-fat "$DESTDIR/usr/bin/git-fat" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/kexec-tools.morph b/strata/tools/kexec-tools.morph new file mode 100644 index 00000000..ddccdb7c --- /dev/null +++ b/strata/tools/kexec-tools.morph @@ -0,0 +1,22 @@ +name: kexec-tools +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./bootstrap +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/lsof.morph b/strata/tools/lsof.morph new file mode 100644 index 00000000..ed11f9fa --- /dev/null +++ b/strata/tools/lsof.morph @@ -0,0 +1,27 @@ +name: lsof +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- tar xf lsof_*_src.tar +- cd lsof_*_src/ && ./Configure -n linux +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd lsof_*_src/ && make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR$PREFIX"/bin +- mv lsof_*_src/lsof "$DESTDIR$PREFIX"/bin/lsof +- mkdir -p "$DESTDIR$PREFIX"/man/man8 +- mv lsof_*_src/lsof.8 "$DESTDIR$PREFIX"/man/man8 +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/pyfilesystem.morph b/strata/tools/pyfilesystem.morph new file mode 100644 index 00000000..1306796e --- /dev/null +++ b/strata/tools/pyfilesystem.morph @@ -0,0 +1,22 @@ +name: pyfilesystem +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix="$PREFIX" --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/python-coveragepy.morph b/strata/tools/python-coveragepy.morph new file mode 100644 index 00000000..65bcbe85 --- /dev/null +++ b/strata/tools/python-coveragepy.morph @@ -0,0 +1,22 @@ +name: python-coveragepy +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix=/usr --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/python-ttystatus.morph b/strata/tools/python-ttystatus.morph new file mode 100644 index 00000000..68d12926 --- /dev/null +++ b/strata/tools/python-ttystatus.morph @@ -0,0 +1,22 @@ +name: python-ttystatus +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- python setup.py build +post-build-commands: [] +pre-install-commands: [] +install-commands: +- python setup.py install --prefix=/usr --root "$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/rsync.morph b/strata/tools/rsync.morph new file mode 100644 index 00000000..aaa8d0e3 --- /dev/null +++ b/strata/tools/rsync.morph @@ -0,0 +1,22 @@ +name: rsync +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make proto +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/screen.morph b/strata/tools/screen.morph new file mode 100644 index 00000000..21b5a29b --- /dev/null +++ b/strata/tools/screen.morph @@ -0,0 +1,24 @@ +name: screen +kind: chunk +description: A terminal multiplexer and sanity tool for many +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- cd ./src && sh autogen.sh +- cd ./src && ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd ./src && make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd ./src && make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/u-boot.morph b/strata/tools/u-boot.morph new file mode 100644 index 00000000..77e0dfbb --- /dev/null +++ b/strata/tools/u-boot.morph @@ -0,0 +1,27 @@ +name: u-boot +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make tools +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p "$DESTDIR$PREFIX/bin" +- install -m 755 tools/img2brec.sh "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/jtagconsole "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/netconsole "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/mkenvimage "$DESTDIR$PREFIX/bin/." +- install -m 755 tools/mkimage "$DESTDIR$PREFIX/bin/." +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/vala.morph b/strata/tools/vala.morph new file mode 100644 index 00000000..3d7f1ce9 --- /dev/null +++ b/strata/tools/vala.morph @@ -0,0 +1,21 @@ +name: vala +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/tools/vim.morph b/strata/tools/vim.morph new file mode 100644 index 00000000..9a8b00c3 --- /dev/null +++ b/strata/tools/vim.morph @@ -0,0 +1,25 @@ +name: vim +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >>src/feature.h +- ./configure --prefix="$PREFIX" --enable-multibyte +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR"/etc +- install -m 644 runtime/vimrc_example.vim "$DESTDIR"/etc/vimrc +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/trove.morph b/strata/trove.morph index 3bd89570..d6e6e368 100644 --- a/trove.morph +++ b/strata/trove.morph @@ -2,7 +2,8 @@ name: trove kind: stratum description: Trove software build-depends: -- morph: tools +- morph: strata/tools.morph +products: [] chunks: - name: bottle repo: upstream:bottle @@ -15,23 +16,27 @@ chunks: unpetrify-ref: master build-depends: [] - name: lua + morph: strata/trove/lua.morph repo: upstream:lua ref: bedbdc0f03bca4fe97200ddf9c3d6cb210b45888 unpetrify-ref: baserock/5.1-morph build-depends: [] - name: lace + morph: strata/trove/lace.morph repo: upstream:gitano/lace ref: d1b540b6d361d6a1f51e53cdaab69f053340efbb unpetrify-ref: baserock/morph build-depends: - lua - name: luxio + morph: strata/trove/luxio.morph repo: upstream:luxio ref: be9d125080b9ff2376273e21b75669b65dc88d46 unpetrify-ref: baserock/morph build-depends: - lua - name: supple + morph: strata/trove/supple.morph repo: upstream:gitano/supple ref: 0963e5706d78d0ae7446ea91af986de1e196eb39 unpetrify-ref: baserock/morph @@ -39,12 +44,14 @@ chunks: - lua - luxio - name: clod + morph: strata/trove/clod.morph repo: upstream:gitano/clod ref: da15894f42f48d15db997c4355d6b672371a4163 unpetrify-ref: baserock/morph build-depends: - lua - name: gall + morph: strata/trove/gall.morph repo: upstream:gitano/gall ref: f58c7526fbb0421d7f5446644f01f4cf57035ee2 unpetrify-ref: baserock/morph @@ -57,6 +64,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: lrexlib-pcre + morph: strata/trove/lrexlib-pcre.morph repo: upstream:lrexlib ref: da8a015f9e0192c47552313c981a574ff41a6b88 unpetrify-ref: baserock/morph @@ -64,12 +72,14 @@ chunks: - pcre - lua - name: gitano + morph: strata/trove/gitano.morph repo: upstream:gitano/gitano ref: 4b8ce6875266fdd6609a217dcf2924d7d4815cc2 unpetrify-ref: baserock/morph build-depends: - lua - name: cgit + morph: strata/trove/cgit.morph repo: upstream:cgit ref: acbf4a15e260c711094455dbef7c024f2553fd32 unpetrify-ref: baserock/morph @@ -92,6 +102,7 @@ chunks: - bzr-tarball - python-fastimport - name: cvs-tarball + morph: strata/trove/cvs-tarball.morph repo: upstream:cvs-tarball ref: ca4cd317a75ef4349563b5a9a734561beb4a4f98 unpetrify-ref: baserock/morph @@ -102,12 +113,14 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: libapr-util-tarball + morph: strata/trove/libapr-util-tarball.morph repo: upstream:libapr-util-tarball ref: daba269ee5a262cc23621b3ee37ed368d2a2b69b unpetrify-ref: baserock/morph build-depends: - libapr-tarball - name: perl-dbi-tarball + morph: strata/trove/perl-dbi-tarball.morph repo: upstream:perl-dbi-tarball ref: 09e269cff811f0c1881ea0d6b7571173bab8377b unpetrify-ref: baserock/morph @@ -126,16 +139,19 @@ chunks: - libapr-tarball - libapr-util-tarball - name: swig-tarball + morph: strata/trove/swig-tarball.morph repo: upstream:swig-tarball ref: 1f6cb46b6a4b3ebf9352fa10198b0b286f84138b unpetrify-ref: baserock/morph build-depends: [] - name: neon + morph: strata/trove/neon.morph repo: upstream:neon ref: 837374e9d797e216f1de684595cefe791f67c0e4 unpetrify-ref: baserock/morph build-depends: [] - name: subversion-tarball + morph: strata/trove/subversion-tarball.morph repo: upstream:subversion-tarball ref: 351e074672d9aa6446d5829938b697a3d6b23266 unpetrify-ref: baserock/morph @@ -146,22 +162,26 @@ chunks: - libserf-tarball - neon - name: mercurial-tarball + morph: strata/trove/mercurial-tarball.morph repo: upstream:mercurial-tarball ref: 4b0aa73b8c69bd5b7521337809f7bc4714209a5a unpetrify-ref: baserock/morph build-depends: [] - name: hg-fast-export + morph: strata/trove/hg-fast-export.morph repo: upstream:hg-fast-export ref: 09a472aa58da0417a11a22bae172785f7cb2e80f unpetrify-ref: baserock/morph build-depends: - mercurial-tarball - name: cvsps + morph: strata/trove/cvsps.morph repo: upstream:cvsps ref: 71c6d1f5668f405a7b259a0aac0d423f6c9b4d49 unpetrify-ref: baserock/morph build-depends: [] - name: lorry + morph: strata/trove/lorry.morph repo: baserock:baserock/lorry ref: ede3f337e9769b0e6756d4b9cc37d33aa62b82ba unpetrify-ref: master @@ -177,16 +197,19 @@ chunks: - mercurial-tarball - hg-fast-export - name: trove-setup + morph: strata/trove/trove-setup.morph repo: baserock:baserock/trove-setup ref: ac0d11ed43d65f99a47793e465bef9b2dc2032a3 unpetrify-ref: master build-depends: [] - name: lorry-controller + morph: strata/trove/lorry-controller.morph repo: baserock:baserock/lorry-controller ref: de723aed60a6a16aa8c8354b99ef7539a153fef7 unpetrify-ref: master build-depends: [] - name: lighttpd + morph: strata/trove/lighttpd.morph repo: upstream:lighttpd ref: 12e4e21763da770034267ff0a7b660876930f789 unpetrify-ref: baserock/morph @@ -198,6 +221,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: lua-scrypt + morph: strata/trove/lua-scrypt.morph repo: upstream:lua-scrypt ref: 0d7f74cd3eab7d54fbb13294194de7ea70ac34a5 unpetrify-ref: baserock/morph diff --git a/strata/trove/cgit.morph b/strata/trove/cgit.morph new file mode 100644 index 00000000..8ec0ca24 --- /dev/null +++ b/strata/trove/cgit.morph @@ -0,0 +1,22 @@ +name: cgit +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make prefix="$PREFIX" +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make prefix="$PREFIX" DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/clod.morph b/strata/trove/clod.morph new file mode 100644 index 00000000..22b92dbd --- /dev/null +++ b/strata/trove/clod.morph @@ -0,0 +1,22 @@ +name: clod +kind: chunk +description: Configuration Language Organised (by) Dots. +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/cvs-tarball.morph b/strata/trove/cvs-tarball.morph new file mode 100644 index 00000000..6b36f297 --- /dev/null +++ b/strata/trove/cvs-tarball.morph @@ -0,0 +1,22 @@ +name: cvs-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- YACC='bison -y' ./configure --prefix "$PREFIX" --with-external-zlib --without-gssapi + --without-krb4 --disable-dependency-tracking --disable-nls --disable-rpath +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/cvsps.morph b/strata/trove/cvsps.morph new file mode 100644 index 00000000..5f698c06 --- /dev/null +++ b/strata/trove/cvsps.morph @@ -0,0 +1,22 @@ +name: cvsps +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install prefix="$DESTDIR$PREFIX" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/gall.morph b/strata/trove/gall.morph new file mode 100644 index 00000000..f51cbc8b --- /dev/null +++ b/strata/trove/gall.morph @@ -0,0 +1,22 @@ +name: gall +kind: chunk +description: Git Abstraction Layer for Lua +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/gitano.morph b/strata/trove/gitano.morph new file mode 100644 index 00000000..1e0d3cd9 --- /dev/null +++ b/strata/trove/gitano.morph @@ -0,0 +1,22 @@ +name: gitano +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install INST_ROOT="$PREFIX" DESTDIR="$DESTDIR" +- cp scripts/htpasswd "$DESTDIR/$PREFIX/bin" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/hg-fast-export.morph b/strata/trove/hg-fast-export.morph new file mode 100644 index 00000000..b37651f9 --- /dev/null +++ b/strata/trove/hg-fast-export.morph @@ -0,0 +1,27 @@ +name: hg-fast-export +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- install -d "$DESTDIR/$PREFIX/bin" +- install -m 0755 hg-fast-export.py "$DESTDIR/$PREFIX/bin/" +- install -m 0755 hg-reset.py "$DESTDIR/$PREFIX/bin/" +- install -m 0755 hg-fast-export.sh "$DESTDIR/$PREFIX/bin/hg-fast-export" +- install -m 0755 hg-reset.sh "$DESTDIR/$PREFIX/bin/hg-reset" +- install -d "$DESTDIR/$PREFIX/lib/python2.7/site-packages" +- install -m 0644 hg2git.py "$DESTDIR/$PREFIX/lib/python2.7/site-packages/" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/lace.morph b/strata/trove/lace.morph new file mode 100644 index 00000000..8e90c19d --- /dev/null +++ b/strata/trove/lace.morph @@ -0,0 +1,22 @@ +name: lace +kind: chunk +description: Lua Access Control Engine. +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/libapr-util-tarball.morph b/strata/trove/libapr-util-tarball.morph new file mode 100644 index 00000000..c993cf4d --- /dev/null +++ b/strata/trove/libapr-util-tarball.morph @@ -0,0 +1,21 @@ +name: libapr-util-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix "$PREFIX" --with-apr=/usr/bin/apr-1-config +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/lighttpd.morph b/strata/trove/lighttpd.morph new file mode 100644 index 00000000..e2f4cf15 --- /dev/null +++ b/strata/trove/lighttpd.morph @@ -0,0 +1,22 @@ +name: lighttpd +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh +- ./configure --prefix="$PREFIX" --with-openssl --with-openssl-libs=/usr/lib +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/lorry-controller.morph b/strata/trove/lorry-controller.morph new file mode 100644 index 00000000..a566fd48 --- /dev/null +++ b/strata/trove/lorry-controller.morph @@ -0,0 +1,26 @@ +name: lorry-controller +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: python-distutils +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: +- install -d 0755 "$DESTDIR/etc/lighttpd" +- install -m 0644 -D etc/lighttpd/*.conf "$DESTDIR/etc/lighttpd/." +- | + TGT="$DESTDIR/usr/lib/systemd/system" + install -d "$TGT/multi-user.target.wants" + install -m 0644 units/*.service units/*.timer "$TGT/." +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/lorry.morph b/strata/trove/lorry.morph new file mode 100644 index 00000000..4ecdc951 --- /dev/null +++ b/strata/trove/lorry.morph @@ -0,0 +1,20 @@ +name: lorry +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: python-distutils +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/lrexlib-pcre.morph b/strata/trove/lrexlib-pcre.morph new file mode 100644 index 00000000..f13b367d --- /dev/null +++ b/strata/trove/lrexlib-pcre.morph @@ -0,0 +1,10 @@ +name: lrexlib-pcre +kind: chunk +description: Lua regular expression library - PCRE build only +build-system: manual +build-commands: +- gcc -fPIC -DPIC -DVERSION=\"2.7.2\" -o rex_pcre.so -shared src/common.c src/pcre/lpcre.c + src/pcre/lpcre_f.c -lpcre +install-commands: +- mkdir -p $DESTDIR/usr/lib/lua/5.1/ +- cp rex_pcre.so $DESTDIR/usr/lib/lua/5.1/ diff --git a/strata/trove/lua-scrypt.morph b/strata/trove/lua-scrypt.morph new file mode 100644 index 00000000..2dda2d9b --- /dev/null +++ b/strata/trove/lua-scrypt.morph @@ -0,0 +1,21 @@ +name: lua-scrypt +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make lua-5.1-install DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/lua.morph b/strata/trove/lua.morph new file mode 100644 index 00000000..5ffae2f9 --- /dev/null +++ b/strata/trove/lua.morph @@ -0,0 +1,26 @@ +name: lua +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h +- sed -i -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make debian_linux INSTALL_TOP="$PREFIX" RPATH="$PREFIX/lib" +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALL_TOP="$DESTDIR/$PREFIX" debian_install +- mkdir -p $DESTDIR/$PREFIX/lib/pkgconfig +- cp lua5.1.pc $DESTDIR/$PREFIX/lib/pkgconfig/ +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/luxio.morph b/strata/trove/luxio.morph new file mode 100644 index 00000000..0ad7dd7b --- /dev/null +++ b/strata/trove/luxio.morph @@ -0,0 +1,22 @@ +name: luxio +kind: chunk +description: Lua Unix IO (and related stuff). +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make lua-5.1 +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" lua-5.1-install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/mercurial-tarball.morph b/strata/trove/mercurial-tarball.morph new file mode 100644 index 00000000..8c44ab63 --- /dev/null +++ b/strata/trove/mercurial-tarball.morph @@ -0,0 +1,22 @@ +name: mercurial-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make build PREFIX="$PREFIX" +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install-bin PREFIX="$PREFIX" DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/neon.morph b/strata/trove/neon.morph new file mode 100644 index 00000000..bd8933a6 --- /dev/null +++ b/strata/trove/neon.morph @@ -0,0 +1,24 @@ +name: neon +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh +- ./configure --prefix="$PREFIX" --with-ssl +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install-lib install-headers install-config DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/perl-dbi-tarball.morph b/strata/trove/perl-dbi-tarball.morph new file mode 100644 index 00000000..21903e24 --- /dev/null +++ b/strata/trove/perl-dbi-tarball.morph @@ -0,0 +1,21 @@ +name: perl-dbi-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: cpan +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make -j1 +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/subversion-tarball.morph b/strata/trove/subversion-tarball.morph new file mode 100644 index 00000000..45b89f06 --- /dev/null +++ b/strata/trove/subversion-tarball.morph @@ -0,0 +1,26 @@ +name: subversion-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- python gen-make.py build.conf +- ./configure --prefix="$PREFIX" --without-berkeley-db +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install DESTDIR="$DESTDIR" +- make swig-pl +- make install-swig-pl DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/supple.morph b/strata/trove/supple.morph new file mode 100644 index 00000000..03830c9d --- /dev/null +++ b/strata/trove/supple.morph @@ -0,0 +1,22 @@ +name: supple +kind: chunk +description: Sandbox (for) Untrusted Procedure Partitioning (in) Lua Engine. +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INST_BASE="$PREFIX" DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/swig-tarball.morph b/strata/trove/swig-tarball.morph new file mode 100644 index 00000000..4ac14d9d --- /dev/null +++ b/strata/trove/swig-tarball.morph @@ -0,0 +1,21 @@ +name: swig-tarball +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --disable-ccache +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/trove/trove-setup.morph b/strata/trove/trove-setup.morph new file mode 100644 index 00000000..03092e82 --- /dev/null +++ b/strata/trove/trove-setup.morph @@ -0,0 +1,21 @@ +name: trove-setup +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/virtualbox-guest-x86_64.morph b/strata/virtualbox-guest-x86_64.morph index 49df2405..fceec999 100644 --- a/virtualbox-guest-x86_64.morph +++ b/strata/virtualbox-guest-x86_64.morph @@ -3,17 +3,20 @@ kind: stratum description: | VirtualBox Guest Additions for x86_64 build-depends: -- morph: tools -- morph: bsp-x86_64-generic -- morph: x-common -- morph: x-generic +- morph: strata/tools.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +products: [] chunks: - name: yasm + morph: strata/virtualbox-guest-x86_64/yasm.morph repo: upstream:yasm ref: fefefe262eb29081f0bcb4d48f2d476ce5730562 unpetrify-ref: baserock/morph build-depends: [] - name: vboxguest + morph: strata/virtualbox-guest-x86_64/vboxguest.morph repo: upstream:VirtualBox ref: 617aeb5a3c13f4a46423e8c2fb560449403ad56d unpetrify-ref: baserock/morph diff --git a/strata/virtualbox-guest-x86_64/vboxguest.morph b/strata/virtualbox-guest-x86_64/vboxguest.morph new file mode 100644 index 00000000..8fe23a8e --- /dev/null +++ b/strata/virtualbox-guest-x86_64/vboxguest.morph @@ -0,0 +1,47 @@ +name: vboxguest +kind: chunk +description: | + VirtualBox guest additions +max-jobs: 1 +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- truncate -s0 src/VBox/Additions/common/pam/Makefile.kmk +- env PATH="${PATH}:$(pwd)/kBuild/bin/linux.amd64/" VBOX_ONLY_ADDITIONS=1 VBOX_ONLY_BUILD=1 + kmk +- cd out/linux.amd64/release/bin/additions/src/ && make M="$(pwd)" -C /usr/src/linux + modules +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd out/linux.amd64/release/bin/additions/src && make M="$(pwd)" -C /usr/src/linux + INSTALL_MOD_PATH="$DESTDIR" modules_install +- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/mount.vboxsf "$DESTDIR/sbin/mount.vboxsf" +- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/VBoxService "$DESTDIR/sbin/VBoxService" +- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/VBoxControl "$DESTDIR/sbin/VBoxControl" +- | + install -m 644 -D -o 0 -g 0 /proc/self/fd/0 "$DESTDIR/lib/systemd/system/virtualbox-guest.service" <<EOS + [Unit] + Description=VirtualBox Guest Additions + + [Service] + ExecStart=/sbin/VBoxService -f + Restart=always + EOS +- mkdir -p "$DESTDIR/lib/systemd/system/basic.target.wants" +- ln -s "/lib/systemd/system/virtualbox-guest.service" "$DESTDIR/lib/systemd/system/basic.target.wants/virtualbox-guest.service" +- mkdir -p "$DESTDIR/etc/modules-load.d" +- echo vboxsf > "$DESTDIR/etc/modules-load.d/virtualbox-guest-filesystem.conf" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: + vboxguest-misc: + 00-depmod: + - depmod -a $(cd /lib/modules; ls | head -n 1) +test-commands: [] diff --git a/strata/virtualbox-guest-x86_64/yasm.morph b/strata/virtualbox-guest-x86_64/yasm.morph new file mode 100644 index 00000000..cace5bcc --- /dev/null +++ b/strata/virtualbox-guest-x86_64/yasm.morph @@ -0,0 +1,20 @@ +name: yasm +kind: chunk +description: '' +max-jobs: 1 +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/virtualization.morph b/strata/virtualization.morph index 33e662b4..f886a777 100644 --- a/virtualization.morph +++ b/strata/virtualization.morph @@ -2,30 +2,36 @@ name: virtualization kind: stratum description: virtualization for baserock build-depends: -- morph: connectivity +- morph: strata/connectivity.morph +products: [] chunks: - name: yajl + morph: strata/virtualization/yajl.morph repo: upstream:yajl ref: 52fc681857228c65c1cb439782da485554875481 unpetrify-ref: baserock/morph build-depends: [] - name: xml-catalog + morph: strata/virtualization/xml-catalog.morph repo: baserock:baserock/xml-catalog ref: 1d4a2abc875c4dda1b5eadc0a097a48a8d2ec82b unpetrify-ref: master build-depends: [] - name: lvm2 + morph: strata/virtualization/lvm2.morph repo: upstream:lvm2 ref: 8c5b90b50bdf9f1a7ae1d3c4cf58ce4b0d7c2768 unpetrify-ref: baserock/morph build-depends: [] - name: dnsmasq + morph: strata/virtualization/dnsmasq.morph repo: upstream:dnsmasq ref: 8471cd938ca41fbe4fee8ae3f657625c92cfb954 unpetrify-ref: baserock/morph build-depends: - lvm2 - name: qemu + morph: strata/virtualization/qemu.morph repo: upstream:qemu ref: f8d1fb61e65575011a67d7ba97b690feb5630c91 unpetrify-ref: baserock/morph @@ -42,6 +48,7 @@ chunks: build-depends: - xorg-util-macros - name: libvirt + morph: strata/virtualization/libvirt.morph repo: upstream:libvirt ref: 13b7bb4acba9b70e015b7faa020b08018885aad8 unpetrify-ref: baserock/morph @@ -87,18 +94,21 @@ chunks: unpetrify-ref: 3.7.4 build-depends: [] - name: pygobject + morph: strata/virtualization/pygobject.morph repo: upstream:pygobject ref: 276341d7ddab180020c31e6837bd28fd25784de0 unpetrify-ref: baserock/morph build-depends: - gnome-common - name: libsoup + morph: strata/virtualization/libsoup.morph repo: upstream:libsoup ref: ce764489e358bad6b49418f5c8bc7b25a4b1815e unpetrify-ref: baserock/morph build-depends: - gnome-common - name: libosinfo + morph: strata/virtualization/libosinfo.morph repo: upstream:libosinfo ref: a86c74c4d3f62bb0e315ab7fc78ec9f7746bdd12 unpetrify-ref: baserock/morph diff --git a/strata/virtualization/dnsmasq.morph b/strata/virtualization/dnsmasq.morph new file mode 100644 index 00000000..5f78ebf5 --- /dev/null +++ b/strata/virtualization/dnsmasq.morph @@ -0,0 +1,21 @@ +name: dnsmasq +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install PREFIX="$PREFIX" DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/libosinfo.morph b/strata/virtualization/libosinfo.morph new file mode 100644 index 00000000..f40cc403 --- /dev/null +++ b/strata/virtualization/libosinfo.morph @@ -0,0 +1,22 @@ +name: libosinfo +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --disable-gtk-doc --disable-tests --disable-vala + --with-usb-ids-path=usb.ids --with-pci-ids-path=pci.ids +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/libsoup.morph b/strata/virtualization/libsoup.morph new file mode 100644 index 00000000..a39d20e4 --- /dev/null +++ b/strata/virtualization/libsoup.morph @@ -0,0 +1,22 @@ +name: libsoup +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --disable-tls-check +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/libvirt.morph b/strata/virtualization/libvirt.morph new file mode 100644 index 00000000..f6d34fa6 --- /dev/null +++ b/strata/virtualization/libvirt.morph @@ -0,0 +1,23 @@ +name: libvirt +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- | + GNULIB_SRCDIR=gnulib-src ./autogen.sh --without-apparmor --with-attr --without-audit --without-avahi --with-blkid --without-capng --with-curl --with-dbus --with-fuse --without-glusterfs --without-hal --without-netcf --without-numactl --without-openwsman --with-pciaccess --without-readline --without-sanlock --without-sasl --without-selinux --without-ssh2 --with-systemd-daemon --with-udev --with-yajl --without-xen --with-qemu --without-uml --without-openvz --without-vmware --without-phyp --without-xenapi --without-libxl --without-vbox --without-lxc --without-esx --without-hyperv --without-parallels --with-test --with-remote --with-libvirtd --with-init-script=systemd --without-bhyve --without-gnutls --without-polkit --without-firewalld --without-dtrace --without-numad --with-network --with-secrets --with-storage-dir --with-storage-fs --with-storage-lvm --without-storage-iscsi --without-storage-scsi --without-storage-mpath --without-storage-disk --with-storage-rbd --without-storage-sheepdog --without-storage-gluster --without-wireshark-dissector --with-python --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/lvm2.morph b/strata/virtualization/lvm2.morph new file mode 100644 index 00000000..045671ed --- /dev/null +++ b/strata/virtualization/lvm2.morph @@ -0,0 +1,22 @@ +name: lvm2 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --enable-applib --enable-cmdlib --enable-pkgconfig + --enable-dmeventd --enable-udev_sync +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/pygobject.morph b/strata/virtualization/pygobject.morph new file mode 100644 index 00000000..888038fc --- /dev/null +++ b/strata/virtualization/pygobject.morph @@ -0,0 +1,21 @@ +name: pygobject +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --disable-cairo +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/qemu.morph b/strata/virtualization/qemu.morph new file mode 100644 index 00000000..ade2e242 --- /dev/null +++ b/strata/virtualization/qemu.morph @@ -0,0 +1,21 @@ +name: qemu +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/xml-catalog.morph b/strata/virtualization/xml-catalog.morph new file mode 100644 index 00000000..b6591ae6 --- /dev/null +++ b/strata/virtualization/xml-catalog.morph @@ -0,0 +1,22 @@ +name: xml-catalog +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: +- ./post-install.sh +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/virtualization/yajl.morph b/strata/virtualization/yajl.morph new file mode 100644 index 00000000..6f4639b9 --- /dev/null +++ b/strata/virtualization/yajl.morph @@ -0,0 +1,23 @@ +name: yajl +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./configure -p "$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make distro +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/wayland-armv7-versatile.morph b/strata/wayland-armv7-versatile.morph index 3980c170..b2ecfe87 100644 --- a/wayland-armv7-versatile.morph +++ b/strata/wayland-armv7-versatile.morph @@ -1,7 +1,9 @@ name: wayland-armv7-versatile kind: stratum +description: '' build-depends: -- morph: x-common +- morph: strata/x-common.morph +products: [] chunks: - name: libxkbcommon repo: upstream:xorg-lib-libxkbcommon @@ -9,12 +11,14 @@ chunks: unpetrify-ref: baserock/genivi/baseline build-depends: [] - name: wayland + morph: strata/wayland-armv7-versatile/wayland.morph repo: upstream:wayland ref: cbd8ab5ba7f3f0dba6c9b04176b3a2da965cd21c unpetrify-ref: baserock/1.4.0 build-depends: - libxkbcommon - name: mesa-wayland + morph: strata/wayland-armv7-versatile/mesa-wayland.morph repo: upstream:mesa ref: e51e5d4f9875e9a970d7560c6ac0bfed933facc5 unpetrify-ref: baserock/arm/10.0.4-gallium @@ -37,11 +41,13 @@ chunks: build-depends: - freetype2 - name: freefont-otf + morph: strata/wayland-armv7-versatile/freefont-otf.morph repo: upstream:freefont-otf ref: 0ca3ccce74e81f7feb6e922edd988be0e1a43f05 unpetrify-ref: baserock/morph build-depends: [] - name: cairo + morph: strata/wayland-armv7-versatile/cairo.morph repo: upstream:cairo ref: c373daa9d4bade91b3fc8b7850163db4b3aec40a unpetrify-ref: baserock/genivi/1.12.10 @@ -79,6 +85,7 @@ chunks: unpetrify-ref: baserock/genivi/baseline build-depends: [] - name: linux-api-headers + morph: strata/wayland-armv7-versatile/linux-api-headers.morph repo: upstream:linux ref: 316df4c3eb667636eadf4b663f4087f1f9cc3cfe unpetrify-ref: baserock/morph @@ -109,6 +116,7 @@ chunks: - freetype2 - freefont-otf - name: weston + morph: strata/wayland-armv7-versatile/weston.morph repo: upstream:weston ref: 8658e06e69cc3944e89684a2de619e479751633f unpetrify-ref: baserock/genivi/baseline-h-1.1 @@ -121,6 +129,7 @@ chunks: - libinput - cairo - name: wayland-ivi-extension + morph: strata/wayland-armv7-versatile/wayland-ivi-extension.morph repo: upstream:genivi/wayland-ivi-extension ref: 8b59529cf3b279a948f253bc79263d00d3f051a5 unpetrify-ref: baserock/genivi/baseline-h-1.1 diff --git a/strata/wayland-armv7-versatile/cairo.morph b/strata/wayland-armv7-versatile/cairo.morph new file mode 100644 index 00000000..c8078ec7 --- /dev/null +++ b/strata/wayland-armv7-versatile/cairo.morph @@ -0,0 +1,21 @@ +name: cairo +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-glesv2 +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-armv7-versatile/freefont-otf.morph b/strata/wayland-armv7-versatile/freefont-otf.morph new file mode 100644 index 00000000..af1adb16 --- /dev/null +++ b/strata/wayland-armv7-versatile/freefont-otf.morph @@ -0,0 +1,22 @@ +name: freefont-otf +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p $DESTDIR/usr/share/fonts/opentype/freefont +- install -p *.otf $DESTDIR/usr/share/fonts/opentype/freefont +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-armv7-versatile/linux-api-headers.morph b/strata/wayland-armv7-versatile/linux-api-headers.morph new file mode 100644 index 00000000..da9efde2 --- /dev/null +++ b/strata/wayland-armv7-versatile/linux-api-headers.morph @@ -0,0 +1,25 @@ +name: linux-api-headers +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make mrproper +- make headers_check +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALL_HDR_PATH=dest headers_install +- install -d "$DESTDIR${PREFIX-/usr}/include" +- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-armv7-versatile/mesa-wayland.morph b/strata/wayland-armv7-versatile/mesa-wayland.morph new file mode 100644 index 00000000..9ebfb746 --- /dev/null +++ b/strata/wayland-armv7-versatile/mesa-wayland.morph @@ -0,0 +1,23 @@ +name: mesa-wayland +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-gles2 --enable-gallium-egl --with-egl-platforms=wayland,drm + --enable-gbm --enable-dri --enable-shared-glapi --with-gallium-drivers=swrast --with-dri-drivers=swrast + --with-state-trackers=egl +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-armv7-versatile/wayland-ivi-extension.morph b/strata/wayland-armv7-versatile/wayland-ivi-extension.morph new file mode 100644 index 00000000..b19c17f7 --- /dev/null +++ b/strata/wayland-armv7-versatile/wayland-ivi-extension.morph @@ -0,0 +1,23 @@ +name: wayland-ivi-extension +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install DESTDIR=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-armv7-versatile/wayland.morph b/strata/wayland-armv7-versatile/wayland.morph new file mode 100644 index 00000000..d5179ab2 --- /dev/null +++ b/strata/wayland-armv7-versatile/wayland.morph @@ -0,0 +1,22 @@ +name: wayland +kind: chunk +description: Wayland server +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- ./configure --prefix="$PREFIX" --disable-documentation +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-armv7-versatile/weston.morph b/strata/wayland-armv7-versatile/weston.morph new file mode 100644 index 00000000..d22a9a23 --- /dev/null +++ b/strata/wayland-armv7-versatile/weston.morph @@ -0,0 +1,67 @@ +name: weston +kind: chunk +description: weston compositor +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- | + LDFLAGS='-L/lib64 -lrt' \ + ./configure --prefix=$PREFIX --with-cairo-glesv2 --disable-xwayland \ + --disable-drm-compositor --disable-x11-compositor \ + --disable-wayland-compositor --disable-weston-launch --enable-egl \ + --enable-clients --enable-demo-clients-install --enable-fbdev-compositor +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: +- install -d "$DESTDIR/usr/share/weston" +- install -m 0644 data/*.png "$DESTDIR/usr/share/weston/" +- sed -i 's,/weston.build/data/,/usr/share/weston/,g' ivi-shell/weston.ini +- sed -i 's,/weston.build/clients/,/usr/bin/,g' ivi-shell/weston.ini +- sed -i 's,/weston.build/,/usr/libexec/,g' ivi-shell/weston.ini +- sed -i '/^\[ivi-launcher\]/,$d' ivi-shell/weston.ini +- | + cat <<EOF >> ivi-shell/weston.ini + [ivi-launcher] + workspace-id=0 + icon-id=4001 + icon=/usr/share/weston/icon_ivi_flower.png + path=/usr/bin/weston-flower + + [ivi-launcher] + workspace-id=0 + icon-id=4002 + icon=/usr/share/weston/icon_ivi_clickdot.png + path=/usr/bin/weston-clickdot + + [ivi-launcher] + workspace-id=1 + icon-id=4003 + icon=/usr/share/weston/icon_ivi_simple-egl.png + path=/usr/bin/weston-simple-egl + + [ivi-launcher] + workspace-id=1 + icon-id=4004 + icon=/usr/share/weston/icon_ivi_simple-shm.png + path=/usr/bin/weston-simple-shm + + [ivi-launcher] + workspace-id=2 + icon-id=4005 + icon=/usr/share/weston/icon_ivi_smoke.png + path=/usr/bin/weston-smoke + EOF +- install -d "$DESTDIR/usr/share/doc/weston" +- install -m 0644 ivi-shell/weston.ini "$DESTDIR/usr/share/doc/weston/ivi-shell-weston.ini" +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/wayland-x86_64-generic.morph b/strata/wayland-x86_64-generic.morph index 353b953b..675367b8 100644 --- a/wayland-x86_64-generic.morph +++ b/strata/wayland-x86_64-generic.morph @@ -1,7 +1,9 @@ name: wayland-x86_64-generic kind: stratum +description: '' build-depends: -- morph: x-common +- morph: strata/x-common.morph +products: [] chunks: - name: libxkbcommon repo: upstream:xorg-lib-libxkbcommon @@ -9,12 +11,14 @@ chunks: unpetrify-ref: baserock/genivi/baseline build-depends: [] - name: wayland + morph: strata/wayland-x86_64-generic/wayland.morph repo: upstream:wayland ref: cbd8ab5ba7f3f0dba6c9b04176b3a2da965cd21c unpetrify-ref: baserock/1.4.0 build-depends: - libxkbcommon - name: mesa-wayland + morph: strata/wayland-x86_64-generic/mesa-wayland.morph repo: upstream:mesa ref: a77b370b4ba1045e2612650503cf45827af94a12 unpetrify-ref: baserock/10.0.4-gallium @@ -37,11 +41,13 @@ chunks: build-depends: - freetype2 - name: freefont-otf + morph: strata/wayland-x86_64-generic/freefont-otf.morph repo: upstream:freefont-otf ref: 0ca3ccce74e81f7feb6e922edd988be0e1a43f05 unpetrify-ref: baserock/morph build-depends: [] - name: cairo + morph: strata/wayland-x86_64-generic/cairo.morph repo: upstream:cairo ref: c373daa9d4bade91b3fc8b7850163db4b3aec40a unpetrify-ref: baserock/genivi/1.12.10 @@ -79,6 +85,7 @@ chunks: unpetrify-ref: baserock/genivi/baseline build-depends: [] - name: linux-api-headers + morph: strata/wayland-x86_64-generic/linux-api-headers.morph repo: upstream:linux ref: 316df4c3eb667636eadf4b663f4087f1f9cc3cfe unpetrify-ref: baserock/morph @@ -109,6 +116,7 @@ chunks: - freetype2 - freefont-otf - name: weston + morph: strata/wayland-x86_64-generic/weston.morph repo: upstream:weston ref: 8658e06e69cc3944e89684a2de619e479751633f unpetrify-ref: baserock/genivi/baseline-h-1.1 @@ -121,6 +129,7 @@ chunks: - pixman - libxkbcommon - name: wayland-ivi-extension + morph: strata/wayland-x86_64-generic/wayland-ivi-extension.morph repo: upstream:genivi/wayland-ivi-extension ref: 8b59529cf3b279a948f253bc79263d00d3f051a5 unpetrify-ref: baserock/genivi/baseline-h-1.1 diff --git a/strata/wayland-x86_64-generic/cairo.morph b/strata/wayland-x86_64-generic/cairo.morph new file mode 100644 index 00000000..c8078ec7 --- /dev/null +++ b/strata/wayland-x86_64-generic/cairo.morph @@ -0,0 +1,21 @@ +name: cairo +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-glesv2 +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-x86_64-generic/freefont-otf.morph b/strata/wayland-x86_64-generic/freefont-otf.morph new file mode 100644 index 00000000..af1adb16 --- /dev/null +++ b/strata/wayland-x86_64-generic/freefont-otf.morph @@ -0,0 +1,22 @@ +name: freefont-otf +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p $DESTDIR/usr/share/fonts/opentype/freefont +- install -p *.otf $DESTDIR/usr/share/fonts/opentype/freefont +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-x86_64-generic/linux-api-headers.morph b/strata/wayland-x86_64-generic/linux-api-headers.morph new file mode 100644 index 00000000..da9efde2 --- /dev/null +++ b/strata/wayland-x86_64-generic/linux-api-headers.morph @@ -0,0 +1,25 @@ +name: linux-api-headers +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make mrproper +- make headers_check +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make INSTALL_HDR_PATH=dest headers_install +- install -d "$DESTDIR${PREFIX-/usr}/include" +- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-x86_64-generic/mesa-wayland.morph b/strata/wayland-x86_64-generic/mesa-wayland.morph new file mode 100644 index 00000000..78623fc8 --- /dev/null +++ b/strata/wayland-x86_64-generic/mesa-wayland.morph @@ -0,0 +1,23 @@ +name: mesa-wayland +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-gles2 --enable-gallium-egl --with-egl-platforms=wayland,drm + --enable-gbm --enable-dri --enable-shared-glapi --with-gallium-drivers=swrast --with-dri-drivers=,i915,i965,swrast + --with-state-trackers=egl +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-x86_64-generic/wayland-ivi-extension.morph b/strata/wayland-x86_64-generic/wayland-ivi-extension.morph new file mode 100644 index 00000000..b19c17f7 --- /dev/null +++ b/strata/wayland-x86_64-generic/wayland-ivi-extension.morph @@ -0,0 +1,23 @@ +name: wayland-ivi-extension +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install DESTDIR=$DESTDIR +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-x86_64-generic/wayland.morph b/strata/wayland-x86_64-generic/wayland.morph new file mode 100644 index 00000000..d5179ab2 --- /dev/null +++ b/strata/wayland-x86_64-generic/wayland.morph @@ -0,0 +1,22 @@ +name: wayland +kind: chunk +description: Wayland server +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- ./configure --prefix="$PREFIX" --disable-documentation +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/wayland-x86_64-generic/weston.morph b/strata/wayland-x86_64-generic/weston.morph new file mode 100644 index 00000000..d22a9a23 --- /dev/null +++ b/strata/wayland-x86_64-generic/weston.morph @@ -0,0 +1,67 @@ +name: weston +kind: chunk +description: weston compositor +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- autoreconf -ivf +- | + LDFLAGS='-L/lib64 -lrt' \ + ./configure --prefix=$PREFIX --with-cairo-glesv2 --disable-xwayland \ + --disable-drm-compositor --disable-x11-compositor \ + --disable-wayland-compositor --disable-weston-launch --enable-egl \ + --enable-clients --enable-demo-clients-install --enable-fbdev-compositor +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: +- install -d "$DESTDIR/usr/share/weston" +- install -m 0644 data/*.png "$DESTDIR/usr/share/weston/" +- sed -i 's,/weston.build/data/,/usr/share/weston/,g' ivi-shell/weston.ini +- sed -i 's,/weston.build/clients/,/usr/bin/,g' ivi-shell/weston.ini +- sed -i 's,/weston.build/,/usr/libexec/,g' ivi-shell/weston.ini +- sed -i '/^\[ivi-launcher\]/,$d' ivi-shell/weston.ini +- | + cat <<EOF >> ivi-shell/weston.ini + [ivi-launcher] + workspace-id=0 + icon-id=4001 + icon=/usr/share/weston/icon_ivi_flower.png + path=/usr/bin/weston-flower + + [ivi-launcher] + workspace-id=0 + icon-id=4002 + icon=/usr/share/weston/icon_ivi_clickdot.png + path=/usr/bin/weston-clickdot + + [ivi-launcher] + workspace-id=1 + icon-id=4003 + icon=/usr/share/weston/icon_ivi_simple-egl.png + path=/usr/bin/weston-simple-egl + + [ivi-launcher] + workspace-id=1 + icon-id=4004 + icon=/usr/share/weston/icon_ivi_simple-shm.png + path=/usr/bin/weston-simple-shm + + [ivi-launcher] + workspace-id=2 + icon-id=4005 + icon=/usr/share/weston/icon_ivi_smoke.png + path=/usr/bin/weston-smoke + EOF +- install -d "$DESTDIR/usr/share/doc/weston" +- install -m 0644 ivi-shell/weston.ini "$DESTDIR/usr/share/doc/weston/ivi-shell-weston.ini" +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/webtools.morph b/strata/webtools.morph index 523dde2b..0f75b447 100644 --- a/webtools.morph +++ b/strata/webtools.morph @@ -2,9 +2,11 @@ name: webtools kind: stratum description: pip, node and other fun things build-depends: -- morph: tools +- morph: strata/tools.morph +products: [] chunks: - name: icu + morph: strata/webtools/icu.morph repo: upstream:icu ref: ba023548a3bff7277cbea4acade3042ce9d8949e unpetrify-ref: baserock/morph @@ -15,6 +17,7 @@ chunks: unpetrify-ref: master build-depends: [] - name: tar + morph: strata/webtools/tar.morph repo: upstream:tar ref: 0492b656656ca7973b126b8c117804d80952de48 unpetrify-ref: baserock/morph @@ -30,8 +33,9 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: nginx + morph: strata/webtools/nginx.morph repo: upstream:nginx - ref: 37a582c9ea3e731c115e560d31b26f78535b8fca - unpetrify-ref: baserock/v1.7.0 + ref: 37a582c9ea3e731c115e560d31b26f78535b8fca + unpetrify-ref: baserock/v1.7.0 build-depends: - pcre diff --git a/strata/webtools/icu.morph b/strata/webtools/icu.morph new file mode 100644 index 00000000..53eafedf --- /dev/null +++ b/strata/webtools/icu.morph @@ -0,0 +1,23 @@ +name: icu +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- cd source; ./runConfigureICU Linux --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- cd source; unset TARGET ; make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- cd source; unset TARGET ; make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/webtools/nginx.morph b/strata/webtools/nginx.morph new file mode 100644 index 00000000..bedc317b --- /dev/null +++ b/strata/webtools/nginx.morph @@ -0,0 +1,28 @@ +name: nginx +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- | + ./configure --prefix=$PREFIX \ + --conf-path=/etc/nginx/nginx.conf \ + --pid-path=/etc/nginx/nginx.pid \ + --error-log-path=/var/log/nginx/error.log \ + --http-log-path=/var/log/nginx/access.log +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/webtools/tar.morph b/strata/webtools/tar.morph new file mode 100644 index 00000000..fabcebda --- /dev/null +++ b/strata/webtools/tar.morph @@ -0,0 +1,25 @@ +name: tar +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- bash bootstrap --skip-po +- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin + --disable-nls +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/x-common.morph b/strata/x-common.morph index 77ba793b..87300d1b 100644 --- a/x-common.morph +++ b/strata/x-common.morph @@ -1,9 +1,12 @@ name: x-common kind: stratum +description: '' build-depends: -- morph: genivi-foundation +- morph: strata/genivi-foundation.morph +products: [] chunks: - name: llvm + morph: strata/x-common/llvm.morph repo: upstream:llvm ref: 60aa15443579a9542a1e8818f3c5dd901edb03d9 unpetrify-ref: baserock/morph diff --git a/strata/x-common/llvm.morph b/strata/x-common/llvm.morph new file mode 100644 index 00000000..5755aaab --- /dev/null +++ b/strata/x-common/llvm.morph @@ -0,0 +1,23 @@ +name: llvm +kind: chunk +description: Low Level Virtual Machine +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./configure --prefix="$PREFIX" --libdir="$PREFIX"/lib/llvm --sysconfdir=/etc --enable-shared + --enable-libffi --enable-targets=all --disable-expensive-checks --disable-debug-runtime + --disable-assertions --enable-optimized +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/x-generic.morph b/strata/x-generic.morph index 8309a88e..7af1f0ed 100644 --- a/x-generic.morph +++ b/strata/x-generic.morph @@ -1,9 +1,12 @@ name: x-generic kind: stratum +description: '' build-depends: -- morph: x-common +- morph: strata/x-common.morph +products: [] chunks: - name: mesa-x + morph: strata/x-generic/mesa-x.morph repo: upstream:mesa ref: b8e3777eb34a6f585d7c168003bd8ebd69bf107c unpetrify-ref: baserock/genivi/morph @@ -48,6 +51,7 @@ chunks: - freetype2 - xorg-lib-libfontenc - name: freefont-otf + morph: strata/x-generic/freefont-otf.morph repo: upstream:freefont-otf ref: 0ca3ccce74e81f7feb6e922edd988be0e1a43f05 unpetrify-ref: baserock/morph @@ -95,6 +99,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: xserver + morph: strata/x-generic/xserver.morph repo: upstream:xserver ref: b7cbfa882778cf8857577e0da77aa9295f072db3 unpetrify-ref: baserock/morph @@ -181,6 +186,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: util-keysyms + morph: strata/x-generic/util-keysyms.morph repo: upstream:util-keysyms ref: 0be179eff4eadb99ee303891d1c29c4e4dd6fbab unpetrify-ref: baserock/morph diff --git a/strata/x-generic/freefont-otf.morph b/strata/x-generic/freefont-otf.morph new file mode 100644 index 00000000..af1adb16 --- /dev/null +++ b/strata/x-generic/freefont-otf.morph @@ -0,0 +1,22 @@ +name: freefont-otf +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p $DESTDIR/usr/share/fonts/opentype/freefont +- install -p *.otf $DESTDIR/usr/share/fonts/opentype/freefont +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/x-generic/mesa-x.morph b/strata/x-generic/mesa-x.morph new file mode 100644 index 00000000..8646c4ef --- /dev/null +++ b/strata/x-generic/mesa-x.morph @@ -0,0 +1,37 @@ +name: mesa-x +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- | + cpu=$(echo $TARGET | cut -d '-' -f 1) + case "$cpu" in + x86_32|x64_64) + DRIDRIVERS=intel,i915,i965,swrast + ;; + *) + DRIDRIVERS=swrast + ;; + esac + ./autogen.sh --prefix="$PREFIX" \ + --enable-gles2 \ + --disable-gallium-egl \ + --with-egl-platforms=x11,drm \ + --enable-gbm --enable-shared-glapi \ + --with-gallium-drivers=swrast \ + --with-dri-drivers=$DRIDRIVERS +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/x-generic/util-keysyms.morph b/strata/x-generic/util-keysyms.morph new file mode 100644 index 00000000..12f656f8 --- /dev/null +++ b/strata/x-generic/util-keysyms.morph @@ -0,0 +1,24 @@ +name: util-keysyms +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- git submodule update --init +- ./autogen.sh --prefix=/usr +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/x-generic/xserver.morph b/strata/x-generic/xserver.morph new file mode 100644 index 00000000..a758f084 --- /dev/null +++ b/strata/x-generic/xserver.morph @@ -0,0 +1,21 @@ +name: xserver +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --with-sha1=libsha1 +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: [] +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/xfce.morph b/strata/xfce.morph index 535a6aca..deaad6a8 100644 --- a/xfce.morph +++ b/strata/xfce.morph @@ -2,9 +2,10 @@ name: xfce kind: stratum description: xfce stratum build-depends: -- morph: genivi-x-generic -- morph: gtk2 -- morph: x-generic +- morph: strata/genivi-x-generic.morph +- morph: strata/gtk2.morph +- morph: strata/x-generic.morph +products: [] chunks: - name: libcroco repo: upstream:libcroco @@ -12,6 +13,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: librsvg + morph: strata/xfce/librsvg.morph repo: upstream:librsvg ref: 61171ca59d02b58b7da1697ca1d924bff93e66cb unpetrify-ref: baserock/morph @@ -22,12 +24,14 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: libxfce4util + morph: strata/xfce/libxfce4util.morph repo: upstream:xfce/libxfce4util ref: fc0437fe503c3eaa5ccd4fa68f098bc428f27cad unpetrify-ref: baserock/morph build-depends: - xfce-dev-tools - name: xfconf + morph: strata/xfce/xfconf.morph repo: upstream:xfce/xfconf ref: ed6ed2f7656a0d5d8cb453cb643061c9a157f2ae unpetrify-ref: baserock/morph @@ -35,6 +39,7 @@ chunks: - xfce-dev-tools - libxfce4util - name: libxfce4ui + morph: strata/xfce/libxfce4ui.morph repo: upstream:xfce/libxfce4ui ref: a9c2a379709915dfda255d3ca9181fac3f8484d8 unpetrify-ref: baserock/morph @@ -43,6 +48,7 @@ chunks: - libxfce4util - xfconf - name: garcon + morph: strata/xfce/garcon.morph repo: upstream:xfce/garcon ref: febd4136365714556f6afbccf4302e8f4550e5d1 unpetrify-ref: baserock/morph @@ -54,6 +60,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: exo + morph: strata/xfce/exo.morph repo: upstream:xfce/exo ref: b985c4b5c72ef116d55bbf746c16a05f26afc045 unpetrify-ref: baserock/morph @@ -62,11 +69,13 @@ chunks: - libxfce4ui - perl-uri - name: libwnck + morph: strata/xfce/libwnck.morph repo: upstream:libwnck ref: 6792abcdf27aceba1012406d51606e84b065a526 unpetrify-ref: baserock/xfce-build build-depends: [] - name: xfce4-panel + morph: strata/xfce/xfce4-panel.morph repo: upstream:xfce/xfce4-panel ref: 6ac8bfcb481781e8e23b101f5c5fdd70cf6d083b unpetrify-ref: baserock/morph @@ -76,6 +85,7 @@ chunks: - exo - libwnck - name: thunar + morph: strata/xfce/thunar.morph repo: upstream:xfce/thunar ref: 8289f48c200b91cc1e9932e13defb8e6a4765054 unpetrify-ref: baserock/morph @@ -85,6 +95,7 @@ chunks: - garcon - libwnck - name: xfce4-settings + morph: strata/xfce/xfce4-settings.morph repo: upstream:xfce/xfce4-settings ref: 697ce5cd4bf4860a0a20c27b557be296c9adf469 unpetrify-ref: baserock/morph @@ -100,6 +111,7 @@ chunks: unpetrify-ref: baserock/morph build-depends: [] - name: xfce4-session + morph: strata/xfce/xfce4-session.morph repo: upstream:xfce/xfce4-session ref: 2c89b2f12409ca617fc094e2942cb0d69318c7b5 unpetrify-ref: baserock/morph @@ -110,12 +122,14 @@ chunks: - libxfce4ui - libwnck - name: gtk-xfce-engine-2 + morph: strata/xfce/gtk-xfce-engine-2.morph repo: upstream:xfce/gtk-xfce-engine ref: ed44a71f1a4d76ae850483ece41638bb9a3e7781 unpetrify-ref: baserock/morph build-depends: - xfce-dev-tools - name: xfdesktop + morph: strata/xfce/xfdesktop.morph repo: upstream:xfce/xfdesktop ref: d2f7404da32f29cfec4a704389112fe7183edda5 unpetrify-ref: baserock/morph @@ -125,6 +139,7 @@ chunks: - xfconf - libwnck - name: xfwm4 + morph: strata/xfce/xfwm4.morph repo: upstream:xfce/xfwm4 ref: 523ef8a6861af772be3468cd700ad14172c86768 unpetrify-ref: baserock/morph @@ -135,6 +150,7 @@ chunks: - xfconf - libwnck - name: xfce4-appfinder + morph: strata/xfce/xfce4-appfinder.morph repo: upstream:xfce/xfce4-appfinder ref: 5c069f13fde648913a59f022957b2c83b5764f39 unpetrify-ref: baserock/morph @@ -143,12 +159,14 @@ chunks: - libxfce4ui - garcon - name: tumbler + morph: strata/xfce/tumbler.morph repo: upstream:xfce/tumbler ref: f8191f286227a045fbdabd7684c9da81ade518c8 unpetrify-ref: baserock/morph build-depends: - xfce-dev-tools - name: elementary-xfce + morph: strata/xfce/elementary-xfce.morph repo: upstream:elementary-xfce ref: 81e683bb46f8ba58c49c60ed75124951b7ba0779 unpetrify-ref: baserock/morph diff --git a/strata/xfce/elementary-xfce.morph b/strata/xfce/elementary-xfce.morph new file mode 100644 index 00000000..c4bbb4ea --- /dev/null +++ b/strata/xfce/elementary-xfce.morph @@ -0,0 +1,27 @@ +name: elementary-xfce +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: [] +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- mkdir -p $DESTDIR/usr/share/icons/ +- cp -R elementary-xfce $DESTDIR/usr/share/icons/ +- cp -R elementary-xfce-* $DESTDIR/usr/share/icons/ +- gtk-update-icon-cache -t -f $DESTDIR/usr/share/icons/elementary-xfce +- gtk-update-icon-cache -t -f $DESTDIR/usr/share/icons/elementary-xfce-dark +- gtk-update-icon-cache -t -f $DESTDIR/usr/share/icons/elementary-xfce-darker +- gtk-update-icon-cache -t -f $DESTDIR/usr/share/icons/elementary-xfce-darkest +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/exo.morph b/strata/xfce/exo.morph new file mode 100644 index 00000000..08534839 --- /dev/null +++ b/strata/xfce/exo.morph @@ -0,0 +1,23 @@ +name: exo +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/garcon.morph b/strata/xfce/garcon.morph new file mode 100644 index 00000000..42acf547 --- /dev/null +++ b/strata/xfce/garcon.morph @@ -0,0 +1,23 @@ +name: garcon +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/gtk-xfce-engine-2.morph b/strata/xfce/gtk-xfce-engine-2.morph new file mode 100644 index 00000000..bc501ec4 --- /dev/null +++ b/strata/xfce/gtk-xfce-engine-2.morph @@ -0,0 +1,23 @@ +name: gtk-xfce-engine-2 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/librsvg.morph b/strata/xfce/librsvg.morph new file mode 100644 index 00000000..e2489af4 --- /dev/null +++ b/strata/xfce/librsvg.morph @@ -0,0 +1,23 @@ +name: librsvg +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --disable-gtk-theme +post-configure-commands: [] +pre-build-commands: [] +build-commands: [] +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make DESTDIR="$DESTDIR" install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/libwnck.morph b/strata/xfce/libwnck.morph new file mode 100644 index 00000000..8636d193 --- /dev/null +++ b/strata/xfce/libwnck.morph @@ -0,0 +1,25 @@ +name: libwnck +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: autotools +pre-configure-commands: [] +configure-commands: +- gdk-pixbuf-query-loaders > loader.cache +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make install DESTDIR="$DESTDIR" +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/libxfce4ui.morph b/strata/xfce/libxfce4ui.morph new file mode 100644 index 00000000..daea6df9 --- /dev/null +++ b/strata/xfce/libxfce4ui.morph @@ -0,0 +1,23 @@ +name: libxfce4ui +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=${PREFIX} +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/libxfce4util.morph b/strata/xfce/libxfce4util.morph new file mode 100644 index 00000000..56c36b13 --- /dev/null +++ b/strata/xfce/libxfce4util.morph @@ -0,0 +1,23 @@ +name: libxfce4util +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/thunar.morph b/strata/xfce/thunar.morph new file mode 100644 index 00000000..f13c1b05 --- /dev/null +++ b/strata/xfce/thunar.morph @@ -0,0 +1,24 @@ +name: thunar +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- gdk-pixbuf-query-loaders > loader.cache +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/tumbler.morph b/strata/xfce/tumbler.morph new file mode 100644 index 00000000..fc59f6c2 --- /dev/null +++ b/strata/xfce/tumbler.morph @@ -0,0 +1,23 @@ +name: tumbler +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/xfce4-appfinder.morph b/strata/xfce/xfce4-appfinder.morph new file mode 100644 index 00000000..c7df541e --- /dev/null +++ b/strata/xfce/xfce4-appfinder.morph @@ -0,0 +1,23 @@ +name: xfce4-appfinder +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=${PREFIX} +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/xfce4-panel.morph b/strata/xfce/xfce4-panel.morph new file mode 100644 index 00000000..9ead0f00 --- /dev/null +++ b/strata/xfce/xfce4-panel.morph @@ -0,0 +1,23 @@ +name: xfce4-panel +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/xfce4-session.morph b/strata/xfce/xfce4-session.morph new file mode 100644 index 00000000..fa4954de --- /dev/null +++ b/strata/xfce/xfce4-session.morph @@ -0,0 +1,24 @@ +name: xfce4-session +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- gdk-pixbuf-query-loaders > loader.cache +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/xfce4-settings.morph b/strata/xfce/xfce4-settings.morph new file mode 100644 index 00000000..5abfa887 --- /dev/null +++ b/strata/xfce/xfce4-settings.morph @@ -0,0 +1,23 @@ +name: xfce4-settings +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/xfconf.morph b/strata/xfce/xfconf.morph new file mode 100644 index 00000000..5cf8f746 --- /dev/null +++ b/strata/xfce/xfconf.morph @@ -0,0 +1,23 @@ +name: xfconf +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix=${PREFIX} +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/xfdesktop.morph b/strata/xfce/xfdesktop.morph new file mode 100644 index 00000000..3b96ffb3 --- /dev/null +++ b/strata/xfce/xfdesktop.morph @@ -0,0 +1,23 @@ +name: xfdesktop +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- make install +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/strata/xfce/xfwm4.morph b/strata/xfce/xfwm4.morph new file mode 100644 index 00000000..c127eab0 --- /dev/null +++ b/strata/xfce/xfwm4.morph @@ -0,0 +1,26 @@ +name: xfwm4 +kind: chunk +description: '' +max-jobs: null +products: [] +build-system: manual +pre-configure-commands: [] +configure-commands: +- gdk-pixbuf-query-loaders > loader.cache +- ./autogen.sh --prefix="$PREFIX" --enable-debug=yes +post-configure-commands: [] +pre-build-commands: [] +build-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make +post-build-commands: [] +pre-install-commands: [] +install-commands: +- GDK_PIXBUF_MODULE_FILE="$(pwd)/loader.cache" make install +- install -m 0644 index.theme $DESTDIR/usr/share/icons/hicolor +- gtk-update-icon-cache $DESTDIR/usr/share/icons/hicolor +post-install-commands: [] +devices: [] +post-test-commands: [] +pre-test-commands: [] +system-integration: [] +test-commands: [] diff --git a/armv7lhf-cross-toolchain-system-x86_32-generic.morph b/systems/armv7lhf-cross-toolchain-system-x86_32-generic.morph index 1c9ae41d..22e85686 100644 --- a/armv7lhf-cross-toolchain-system-x86_32-generic.morph +++ b/systems/armv7lhf-cross-toolchain-system-x86_32-generic.morph @@ -1,11 +1,12 @@ name: armv7lhf-cross-toolchain-system-x86_32-generic kind: system +description: A system that contains an ARM cross compiler, intended to be used as + a sysroot. arch: x86_32 -description: A system that contains an ARM cross compiler, intended to be used as a sysroot. strata: -- morph: build-essential -- morph: armv7lhf-cross-toolchain -- morph: cross-tools +- morph: strata/build-essential.morph +- morph: strata/armv7lhf-cross-toolchain.morph +- morph: strata/cross-tools.morph configuration-extensions: - set-hostname - add-config-files diff --git a/armv7lhf-cross-toolchain-system-x86_64-generic.morph b/systems/armv7lhf-cross-toolchain-system-x86_64-generic.morph index 43f5bf87..888a75b0 100644 --- a/armv7lhf-cross-toolchain-system-x86_64-generic.morph +++ b/systems/armv7lhf-cross-toolchain-system-x86_64-generic.morph @@ -1,11 +1,12 @@ name: armv7lhf-cross-toolchain-system-x86_64-generic kind: system +description: A system that contains an ARM cross compiler, intended to be used as + a sysroot. arch: x86_64 -description: A system that contains an ARM cross compiler, intended to be used as a sysroot. strata: -- morph: build-essential -- morph: armv7lhf-cross-toolchain -- morph: cross-tools +- morph: strata/build-essential.morph +- morph: strata/armv7lhf-cross-toolchain.morph +- morph: strata/cross-tools.morph configuration-extensions: - set-hostname - add-config-files diff --git a/base-system-armv7-highbank.morph b/systems/base-system-armv7-highbank.morph index 9573866c..eaa5a175 100644 --- a/base-system-armv7-highbank.morph +++ b/systems/base-system-armv7-highbank.morph @@ -1,16 +1,16 @@ +name: base-system-armv7-highbank +kind: system +description: The set of strata required to have a minimal system for an ARM highbank + system. arch: armv7l +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7-highbank.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: The set of strata required to have a minimal system for an ARM highbank - system. -kind: system -name: base-system-armv7-highbank -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7-highbank diff --git a/base-system-armv7-versatile.morph b/systems/base-system-armv7-versatile.morph index 31e3bf3a..e38df99e 100644 --- a/base-system-armv7-versatile.morph +++ b/systems/base-system-armv7-versatile.morph @@ -1,16 +1,16 @@ +name: base-system-armv7-versatile +kind: system +description: The set of strata required to have a minimal system for an ARM versatile + system. arch: armv7l +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7-versatile.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: The set of strata required to have a minimal system for an ARM versatile - system. -kind: system -name: base-system-armv7-versatile -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7-versatile diff --git a/base-system-armv7b-highbank.morph b/systems/base-system-armv7b-highbank.morph index 75c69f85..8c700f1d 100644 --- a/base-system-armv7b-highbank.morph +++ b/systems/base-system-armv7b-highbank.morph @@ -1,16 +1,16 @@ +name: base-system-armv7b-highbank +kind: system +description: The set of strata required to have a minimal system for an ARM highbank + system. arch: armv7b +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7b-highbank.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: The set of strata required to have a minimal system for an ARM highbank - system. -kind: system -name: base-system-armv7b-highbank -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7b-highbank diff --git a/base-system-armv7b-vexpress-tc2.morph b/systems/base-system-armv7b-vexpress-tc2.morph index bdd63a00..36f2b8dc 100644 --- a/base-system-armv7b-vexpress-tc2.morph +++ b/systems/base-system-armv7b-vexpress-tc2.morph @@ -1,15 +1,15 @@ +name: base-system-armv7b-vexpress-tc2 +kind: system +description: A small system for Versatile TC2 boards system. arch: armv7b +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7b-vexpress-tc2.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A small system for Versatile TC2 boards system. -kind: system -name: base-system-armv7b-vexpress-tc2 -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7b-vexpress-tc2 diff --git a/base-system-armv7lhf-highbank.morph b/systems/base-system-armv7lhf-highbank.morph index 7a8fa323..cc44c06b 100644 --- a/base-system-armv7lhf-highbank.morph +++ b/systems/base-system-armv7lhf-highbank.morph @@ -1,16 +1,16 @@ +name: base-system-armv7lhf-highbank +kind: system +description: The set of strata required to have a minimal system for an ARM highbank + system. arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7-highbank.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: The set of strata required to have a minimal system for an ARM highbank - system. -kind: system -name: base-system-armv7lhf-highbank -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7-highbank diff --git a/base-system-ppc64-generic.morph b/systems/base-system-ppc64-generic.morph index c1589af3..46a9b07b 100644 --- a/base-system-ppc64-generic.morph +++ b/systems/base-system-ppc64-generic.morph @@ -1,16 +1,16 @@ +name: base-system-ppc64-generic +kind: system +description: The set of strata required to have a minimal system for a 64-bit ppc64 + system. arch: ppc64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-ppc64-generic.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: The set of strata required to have a minimal system for a 64-bit ppc64 - system. -kind: system -name: base-system-ppc64-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-ppc64-generic diff --git a/base-system-x86_32-generic.morph b/systems/base-system-x86_32-generic.morph index ab535ea0..62ffdcdf 100644 --- a/base-system-x86_32-generic.morph +++ b/systems/base-system-x86_32-generic.morph @@ -1,4 +1,13 @@ +name: base-system-x86_32-generic +kind: system +description: The set of strata required to have a basic system for a 32-bit x86 system. arch: x86_32 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_32-generic.morph +- morph: strata/cloudinit-support.morph configuration-extensions: - set-hostname - add-config-files @@ -6,13 +15,3 @@ configuration-extensions: - nfsboot - install-files - cloud-init -description: The set of strata required to have a basic system for a 32-bit x86 - system. -kind: system -name: base-system-x86_32-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_32-generic -- morph: cloudinit-support diff --git a/base-system-x86_64-generic.morph b/systems/base-system-x86_64-generic.morph index 36332d42..99bc25e3 100644 --- a/base-system-x86_64-generic.morph +++ b/systems/base-system-x86_64-generic.morph @@ -1,4 +1,14 @@ +name: base-system-x86_64-generic +kind: system +description: The set of strata required to have a minimal system for a 64-bit x86 + system. arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/cloudinit-support.morph configuration-extensions: - set-hostname - add-config-files @@ -6,13 +16,3 @@ configuration-extensions: - nfsboot - install-files - cloud-init -description: The set of strata required to have a minimal system for a 64-bit x86 - system. -kind: system -name: base-system-x86_64-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_64-generic -- morph: cloudinit-support diff --git a/ceph-service-x86_64-generic.morph b/systems/ceph-service-x86_64-generic.morph index 15188bcd..c3a87986 100644 --- a/ceph-service-x86_64-generic.morph +++ b/systems/ceph-service-x86_64-generic.morph @@ -1,14 +1,14 @@ name: ceph-service-x86_64-generic +kind: system description: The set of strata required to have a minimal system for a 64-bit x86 system + the service daemons for ceph object, block and file storage. -kind: system arch: x86_64 strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_64-generic -- morph: ceph-service +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/ceph-service.morph configuration-extensions: - set-hostname - add-config-files diff --git a/cross-bootstrap-system-armv7lhf-generic.morph b/systems/cross-bootstrap-system-armv7lhf-generic.morph index 6195bd1a..0e2a18f7 100644 --- a/cross-bootstrap-system-armv7lhf-generic.morph +++ b/systems/cross-bootstrap-system-armv7lhf-generic.morph @@ -1,8 +1,9 @@ -arch: armv7lhf -description: A system that produces the minimum needed to build a devel system -kind: system name: cross-bootstrap-system-armv7lhf-generic +kind: system +description: A system that produces the minimum needed to build a devel system +arch: armv7lhf strata: -- morph: build-essential -- morph: core -- morph: cross-bootstrap +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/cross-bootstrap.morph +configuration-extensions: [] diff --git a/cross-bootstrap-system-ppc64-generic.morph b/systems/cross-bootstrap-system-ppc64-generic.morph index 9a05a90b..c6987618 100644 --- a/cross-bootstrap-system-ppc64-generic.morph +++ b/systems/cross-bootstrap-system-ppc64-generic.morph @@ -1,8 +1,9 @@ -arch: ppc64 -description: A system that produces the minimum needed to build a devel system -kind: system name: cross-bootstrap-system-ppc64-generic +kind: system +description: A system that produces the minimum needed to build a devel system +arch: ppc64 strata: -- morph: build-essential -- morph: core -- morph: cross-bootstrap +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/cross-bootstrap.morph +configuration-extensions: [] diff --git a/cross-bootstrap-system-x86_64-generic.morph b/systems/cross-bootstrap-system-x86_64-generic.morph index 6c7986e8..5e79c856 100644 --- a/cross-bootstrap-system-x86_64-generic.morph +++ b/systems/cross-bootstrap-system-x86_64-generic.morph @@ -1,8 +1,9 @@ -arch: x86_64 -description: A system that produces the minimum needed to build a devel system -kind: system name: cross-bootstrap-system-x86_64-generic +kind: system +description: A system that produces the minimum needed to build a devel system +arch: x86_64 strata: -- morph: build-essential -- morph: core -- morph: cross-bootstrap +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/cross-bootstrap.morph +configuration-extensions: [] diff --git a/cxmanage-system-x86_64-generic.morph b/systems/cxmanage-system-x86_64-generic.morph index cf9ac809..263735ba 100644 --- a/cxmanage-system-x86_64-generic.morph +++ b/systems/cxmanage-system-x86_64-generic.morph @@ -1,14 +1,14 @@ name: cxmanage-system-x86_64-generic -description: A baserock development system with calxeda management tools added kind: system +description: A baserock development system with calxeda management tools added arch: x86_64 strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_64-generic -- morph: tools -- morph: cxmanage +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/tools.morph +- morph: strata/cxmanage.morph configuration-extensions: - set-hostname - add-config-files diff --git a/devel-system-armv7-chroot.morph b/systems/devel-system-armv7-chroot.morph index aabf9ec1..da735ba5 100644 --- a/devel-system-armv7-chroot.morph +++ b/systems/devel-system-armv7-chroot.morph @@ -1,17 +1,17 @@ +name: devel-system-armv7-chroot +kind: system +description: A system that is able to build other systems based on the ARM highbank + architecture. arch: armv7l +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the ARM highbank - architecture. -kind: system -name: devel-system-armv7-chroot -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7-highbank.morph b/systems/devel-system-armv7-highbank.morph index a4ebd37e..fc4533fd 100644 --- a/devel-system-armv7-highbank.morph +++ b/systems/devel-system-armv7-highbank.morph @@ -1,18 +1,18 @@ +name: devel-system-armv7-highbank +kind: system +description: A system that is able to build other systems based on the ARM highbank + architecture. arch: armv7l +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7-highbank.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the ARM highbank - architecture. -kind: system -name: devel-system-armv7-highbank -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7-highbank -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7-versatile.morph b/systems/devel-system-armv7-versatile.morph index 2fc3e585..073500e8 100644 --- a/devel-system-armv7-versatile.morph +++ b/systems/devel-system-armv7-versatile.morph @@ -1,18 +1,18 @@ +name: devel-system-armv7-versatile +kind: system +description: A system that is able to build other systems based on the ARM versatile + architecture. arch: armv7l +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7-versatile.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the ARM versatile - architecture. -kind: system -name: devel-system-armv7-versatile -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7-versatile -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7-wandboard.morph b/systems/devel-system-armv7-wandboard.morph index 08aeb4af..a60df9e1 100644 --- a/devel-system-armv7-wandboard.morph +++ b/systems/devel-system-armv7-wandboard.morph @@ -1,17 +1,17 @@ +name: devel-system-armv7-wandboard +kind: system +description: A system that is able to build other systems based on the Wandboard. arch: armv7l +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-wandboard.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the Wandboard. -kind: system -name: devel-system-armv7-wandboard -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-wandboard -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7b-chroot.morph b/systems/devel-system-armv7b-chroot.morph index 6a417ec6..a52b1063 100644 --- a/devel-system-armv7b-chroot.morph +++ b/systems/devel-system-armv7b-chroot.morph @@ -1,17 +1,16 @@ +name: devel-system-armv7b-chroot +kind: system +description: A system that is able to build other systems based on the ARMv7b architecture. arch: armv7b +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the ARMv7b - architecture. -kind: system -name: devel-system-armv7b-chroot -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7b-highbank.morph b/systems/devel-system-armv7b-highbank.morph index bbb50976..8280efec 100644 --- a/devel-system-armv7b-highbank.morph +++ b/systems/devel-system-armv7b-highbank.morph @@ -1,18 +1,18 @@ +name: devel-system-armv7b-highbank +kind: system +description: A system that is able to build other systems based on the ARM highbank + architecture. arch: armv7b +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7b-highbank.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the ARM highbank - architecture. -kind: system -name: devel-system-armv7b-highbank -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7b-highbank -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7lhf-chroot.morph b/systems/devel-system-armv7lhf-chroot.morph index f07fc777..8709a61d 100644 --- a/devel-system-armv7lhf-chroot.morph +++ b/systems/devel-system-armv7lhf-chroot.morph @@ -1,17 +1,16 @@ +name: devel-system-armv7lhf-chroot +kind: system +description: A system that is able to build other systems based on the ARMv7lhf architecture. arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the ARMv7lhf - architecture. -kind: system -name: devel-system-armv7lhf-chroot -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7lhf-highbank.morph b/systems/devel-system-armv7lhf-highbank.morph index 7a9fd2cd..ba013c7a 100644 --- a/devel-system-armv7lhf-highbank.morph +++ b/systems/devel-system-armv7lhf-highbank.morph @@ -1,18 +1,18 @@ +name: devel-system-armv7lhf-highbank +kind: system +description: A system that is able to build other systems based on the ARM highbank + architecture. arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7-highbank.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the ARM highbank - architecture. -kind: system -name: devel-system-armv7lhf-highbank -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7-highbank -- morph: tools -- morph: openstack-clients diff --git a/devel-system-armv7lhf-jetson.morph b/systems/devel-system-armv7lhf-jetson.morph index 4d07ef5d..49b9f103 100644 --- a/devel-system-armv7lhf-jetson.morph +++ b/systems/devel-system-armv7lhf-jetson.morph @@ -1,17 +1,18 @@ +name: devel-system-armv7lhf-jetson +kind: system +description: A system that is able to build other systems based on the NVIDIA Jetson + TK1. arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph +- morph: strata/bsp-jetson-devel.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the NVIDIA Jetson TK1. -kind: system -name: devel-system-armv7lhf-jetson -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: tools -- morph: openstack-clients -- morph: bsp-jetson-devel diff --git a/devel-system-armv7lhf-wandboard.morph b/systems/devel-system-armv7lhf-wandboard.morph index c9b7c8a5..dc558b7d 100644 --- a/devel-system-armv7lhf-wandboard.morph +++ b/systems/devel-system-armv7lhf-wandboard.morph @@ -1,17 +1,17 @@ +name: devel-system-armv7lhf-wandboard +kind: system +description: A system that is able to build other systems based on the Wandboard. arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-wandboard.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the Wandboard. -kind: system -name: devel-system-armv7lhf-wandboard -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-wandboard -- morph: tools -- morph: openstack-clients diff --git a/devel-system-ppc64-chroot.morph b/systems/devel-system-ppc64-chroot.morph index dfb2b7c8..51b8ab00 100644 --- a/devel-system-ppc64-chroot.morph +++ b/systems/devel-system-ppc64-chroot.morph @@ -1,17 +1,17 @@ +name: devel-system-ppc64-chroot +kind: system +description: A system that is able to build other systems based on the 64-bit PowerPc + architecture. arch: ppc64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the 64-bit PowerPc - architecture. -kind: system -name: devel-system-ppc64-chroot -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: tools -- morph: openstack-clients diff --git a/devel-system-ppc64-generic.morph b/systems/devel-system-ppc64-generic.morph index cbe42301..bebd6fc6 100644 --- a/devel-system-ppc64-generic.morph +++ b/systems/devel-system-ppc64-generic.morph @@ -1,18 +1,18 @@ +name: devel-system-ppc64-generic +kind: system +description: A system that is able to build other systems based on the 64-bit PowerPc + architecture. arch: ppc64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-ppc64-generic.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the 64-bit PowerPc - architecture. -kind: system -name: devel-system-ppc64-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-ppc64-generic -- morph: tools -- morph: openstack-clients diff --git a/devel-system-x86_32-chroot.morph b/systems/devel-system-x86_32-chroot.morph index baca2904..723023e0 100644 --- a/devel-system-x86_32-chroot.morph +++ b/systems/devel-system-x86_32-chroot.morph @@ -1,18 +1,18 @@ +name: devel-system-x86_32-chroot +kind: system +description: A system that is able to build other systems based on the 32-bit x86 + architecture. arch: x86_32 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph +- morph: strata/bsp-x86_both-tools.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the 32-bit x86 - architecture. -kind: system -name: devel-system-x86_32-chroot -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: tools -- morph: openstack-clients -- morph: bsp-x86_both-tools diff --git a/devel-system-x86_32-generic.morph b/systems/devel-system-x86_32-generic.morph index 5eac853a..c6f194c4 100644 --- a/devel-system-x86_32-generic.morph +++ b/systems/devel-system-x86_32-generic.morph @@ -1,4 +1,16 @@ +name: devel-system-x86_32-generic +kind: system +description: A system that is able to build other systems based on the 32-bit x86 + architecture. arch: x86_32 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_32-generic.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph +- morph: strata/cloudinit-support.morph configuration-extensions: - set-hostname - add-config-files @@ -6,15 +18,3 @@ configuration-extensions: - nfsboot - install-files - cloud-init -description: A system that is able to build other systems based on the 32-bit x86 - architecture. -kind: system -name: devel-system-x86_32-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_32-generic -- morph: tools -- morph: openstack-clients -- morph: cloudinit-support diff --git a/devel-system-x86_64-chroot.morph b/systems/devel-system-x86_64-chroot.morph index 50c757ea..25ae66e9 100644 --- a/devel-system-x86_64-chroot.morph +++ b/systems/devel-system-x86_64-chroot.morph @@ -1,18 +1,18 @@ +name: devel-system-x86_64-chroot +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph +- morph: strata/bsp-x86_both-tools.morph configuration-extensions: - set-hostname - add-config-files - simple-network - nfsboot - install-files -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -kind: system -name: devel-system-x86_64-chroot -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: tools -- morph: openstack-clients -- morph: bsp-x86_both-tools diff --git a/devel-system-x86_64-generic.morph b/systems/devel-system-x86_64-generic.morph index 2100221e..7dc4c914 100644 --- a/devel-system-x86_64-generic.morph +++ b/systems/devel-system-x86_64-generic.morph @@ -1,4 +1,16 @@ +name: devel-system-x86_64-generic +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/tools.morph +- morph: strata/openstack-clients.morph +- morph: strata/cloudinit-support.morph configuration-extensions: - set-hostname - add-config-files @@ -6,15 +18,3 @@ configuration-extensions: - nfsboot - install-files - cloud-init -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -kind: system -name: devel-system-x86_64-generic -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_64-generic -- morph: tools -- morph: openstack-clients -- morph: cloudinit-support diff --git a/systems/devel-system-x86_64-vagrant.morph b/systems/devel-system-x86_64-vagrant.morph new file mode 100644 index 00000000..ea6cb1b7 --- /dev/null +++ b/systems/devel-system-x86_64-vagrant.morph @@ -0,0 +1,30 @@ +name: devel-system-x86_64-vagrant +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. This adds the virtualbox guest additions and vagrant configuration + too +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/connectivity.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +- morph: strata/multimedia.morph +- morph: strata/genivi.morph +- morph: strata/genivi-x-generic.morph +- morph: strata/tools.morph +- morph: strata/virtualization.morph +- morph: strata/openstack-clients.morph +- morph: strata/virtualbox-guest-x86_64.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files +- vagrant diff --git a/distbuild-system-armv7lhf-highbank.morph b/systems/distbuild-system-armv7lhf-highbank.morph index fdad7cc7..a6d782d2 100644 --- a/distbuild-system-armv7lhf-highbank.morph +++ b/systems/distbuild-system-armv7lhf-highbank.morph @@ -1,4 +1,15 @@ +name: distbuild-system-armv7lhf-highbank +kind: system +description: Morph distributed build node for armv7lhf highbank arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-armv7-highbank.morph +- morph: strata/tools.morph +- morph: strata/nfs.morph +- morph: strata/distbuild.morph configuration-extensions: - set-hostname - add-config-files @@ -7,14 +18,3 @@ configuration-extensions: - install-files - distbuild - fstab -description: Morph distributed build node for armv7lhf highbank -kind: system -name: distbuild-system-armv7lhf-highbank -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-armv7-highbank -- morph: tools -- morph: nfs -- morph: distbuild diff --git a/distbuild-system-armv7lhf-jetson.morph b/systems/distbuild-system-armv7lhf-jetson.morph index 4bc4102a..e0bc6d2f 100644 --- a/distbuild-system-armv7lhf-jetson.morph +++ b/systems/distbuild-system-armv7lhf-jetson.morph @@ -1,4 +1,15 @@ +name: distbuild-system-armv7lhf-jetson +kind: system +description: Morph distributed build node for armv7lhf jetson arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-jetson-devel.morph +- morph: strata/tools.morph +- morph: strata/nfs.morph +- morph: strata/distbuild.morph configuration-extensions: - set-hostname - add-config-files @@ -7,14 +18,3 @@ configuration-extensions: - install-files - distbuild - fstab -description: Morph distributed build node for armv7lhf jetson -kind: system -name: distbuild-system-armv7lhf-jetson -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-jetson-devel -- morph: tools -- morph: nfs -- morph: distbuild diff --git a/distbuild-system-ppc64.morph b/systems/distbuild-system-ppc64.morph index 5c09b89e..f67945e8 100644 --- a/distbuild-system-ppc64.morph +++ b/systems/distbuild-system-ppc64.morph @@ -1,4 +1,15 @@ +name: distbuild-system-ppc64 +kind: system +description: Morph distributed build node for ppc64 arch: ppc64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-ppc64-generic.morph +- morph: strata/tools.morph +- morph: strata/nfs.morph +- morph: strata/distbuild.morph configuration-extensions: - set-hostname - add-config-files @@ -7,14 +18,3 @@ configuration-extensions: - install-files - distbuild - fstab -description: Morph distributed build node for ppc64 -kind: system -name: distbuild-system-ppc64 -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-ppc64-generic -- morph: tools -- morph: nfs -- morph: distbuild diff --git a/distbuild-system-x86_32.morph b/systems/distbuild-system-x86_32.morph index 49a7458a..06e81fc4 100644 --- a/distbuild-system-x86_32.morph +++ b/systems/distbuild-system-x86_32.morph @@ -1,4 +1,15 @@ +name: distbuild-system-x86_32 +kind: system +description: Morph distributed build node for x86_32 arch: x86_32 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_32-generic.morph +- morph: strata/tools.morph +- morph: strata/nfs.morph +- morph: strata/distbuild.morph configuration-extensions: - set-hostname - add-config-files @@ -7,14 +18,3 @@ configuration-extensions: - install-files - distbuild - fstab -description: Morph distributed build node for x86_32 -kind: system -name: distbuild-system-x86_32 -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_32-generic -- morph: tools -- morph: nfs -- morph: distbuild diff --git a/distbuild-system-x86_64.morph b/systems/distbuild-system-x86_64.morph index 7f234e6e..1e159228 100644 --- a/distbuild-system-x86_64.morph +++ b/systems/distbuild-system-x86_64.morph @@ -1,4 +1,15 @@ +name: distbuild-system-x86_64 +kind: system +description: Morph distributed build node for x86_64 arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/tools.morph +- morph: strata/nfs.morph +- morph: strata/distbuild.morph configuration-extensions: - set-hostname - add-config-files @@ -8,14 +19,3 @@ configuration-extensions: - distbuild - fstab - mason -description: Morph distributed build node for x86_64 -kind: system -name: distbuild-system-x86_64 -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: bsp-x86_64-generic -- morph: tools -- morph: nfs -- morph: distbuild diff --git a/systems/genivi-baseline-system-armv7lhf-versatile.morph b/systems/genivi-baseline-system-armv7lhf-versatile.morph new file mode 100644 index 00000000..57d7aee8 --- /dev/null +++ b/systems/genivi-baseline-system-armv7lhf-versatile.morph @@ -0,0 +1,24 @@ +name: genivi-baseline-system-armv7lhf-versatile +kind: system +description: A GENIVI baseline system for an ARMv7 system. +arch: armv7lhf +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/bsp-armv7-versatile.morph +- morph: strata/connectivity.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/x-common.morph +- morph: strata/multimedia.morph +- morph: strata/genivi.morph +- morph: strata/wayland-armv7-versatile.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files +- strip-gplv3 +- fstab diff --git a/systems/genivi-baseline-system-x86_64-generic.morph b/systems/genivi-baseline-system-x86_64-generic.morph new file mode 100644 index 00000000..67ab23d9 --- /dev/null +++ b/systems/genivi-baseline-system-x86_64-generic.morph @@ -0,0 +1,23 @@ +name: genivi-baseline-system-x86_64-generic +kind: system +description: A GENIVI baseline system for a 64-bit x86 system. +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/connectivity.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/x-common.morph +- morph: strata/multimedia.morph +- morph: strata/genivi.morph +- morph: strata/wayland-x86_64-generic.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files +- strip-gplv3 diff --git a/systems/gitlab-ci-runner.morph b/systems/gitlab-ci-runner.morph new file mode 100644 index 00000000..81ae86ec --- /dev/null +++ b/systems/gitlab-ci-runner.morph @@ -0,0 +1,30 @@ +name: gitlab-ci-runner +kind: system +description: A system to run build tests as part of GitLab CI architecture. +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/connectivity.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +- morph: strata/multimedia.morph +- morph: strata/genivi.morph +- morph: strata/genivi-x-generic.morph +- morph: strata/tools.morph +- morph: strata/virtualization.morph +- morph: strata/openstack-clients.morph +- morph: strata/databases.morph +- morph: strata/webtools.morph +- morph: strata/ruby.morph +- morph: strata/nfs.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files diff --git a/systems/gitlab-server.morph b/systems/gitlab-server.morph new file mode 100644 index 00000000..670faad7 --- /dev/null +++ b/systems/gitlab-server.morph @@ -0,0 +1,23 @@ +name: gitlab-server +kind: system +description: system which hosts a gitlab server +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/foundation.morph +- morph: strata/core.morph +- morph: strata/tools.morph +- morph: strata/nfs.morph +- morph: strata/databases.morph +- morph: strata/webtools.morph +- morph: strata/ruby.morph +- morph: strata/gitlab.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files +- gitlab +- fstab diff --git a/initramfs-x86_64.morph b/systems/initramfs-x86_64.morph index 7daa81fd..f6d4b17a 100644 --- a/initramfs-x86_64.morph +++ b/systems/initramfs-x86_64.morph @@ -1,10 +1,10 @@ name: initramfs-x86_64 -description: Initramfs for x86_64 kind: system +description: Initramfs for x86_64 arch: x86_64 -configuration-extensions: [] strata: -- morph: build-essential +- morph: strata/build-essential.morph artifacts: - build-essential-minimal -- morph: initramfs-utils +- morph: strata/initramfs-utils.morph +configuration-extensions: [] diff --git a/minimal-system-x86_32-generic.morph b/systems/minimal-system-x86_32-generic.morph index b9e9b9e9..5673f254 100644 --- a/minimal-system-x86_32-generic.morph +++ b/systems/minimal-system-x86_32-generic.morph @@ -1,19 +1,18 @@ -arch: x86_32 -configuration-extensions: -- set-hostname -- simple-network -- nfsboot -- install-files -- busybox-init +name: minimal-system-x86_32-generic +kind: system description: The set of strata required to have a minimal system for a 32-bit x86 system. -kind: system -name: minimal-system-x86_32-generic +arch: x86_32 strata: -- morph: build-essential +- morph: strata/build-essential.morph artifacts: - build-essential-minimal -- morph: bsp-x86_32-generic - # Don't include kernel headers in the system +- morph: strata/bsp-x86_32-generic.morph artifacts: - bsp-x86_32-generic-runtime +configuration-extensions: +- set-hostname +- simple-network +- nfsboot +- install-files +- busybox-init diff --git a/minimal-system-x86_64-generic.morph b/systems/minimal-system-x86_64-generic.morph index 9ead85e8..f1e337db 100644 --- a/minimal-system-x86_64-generic.morph +++ b/systems/minimal-system-x86_64-generic.morph @@ -1,19 +1,18 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- simple-network -- nfsboot -- install-files -- busybox-init +name: minimal-system-x86_64-generic +kind: system description: The set of strata required to have a minimal system for a 64-bit x86 system. -kind: system -name: minimal-system-x86_64-generic +arch: x86_64 strata: -- morph: build-essential +- morph: strata/build-essential.morph artifacts: - build-essential-minimal -- morph: bsp-x86_64-generic - # Don't include kernel headers in the system +- morph: strata/bsp-x86_64-generic.morph artifacts: - bsp-x86_64-generic-runtime +configuration-extensions: +- set-hostname +- simple-network +- nfsboot +- install-files +- busybox-init diff --git a/systems/nodejs-system-x86_64.morph b/systems/nodejs-system-x86_64.morph new file mode 100644 index 00000000..23249378 --- /dev/null +++ b/systems/nodejs-system-x86_64.morph @@ -0,0 +1,28 @@ +name: nodejs-system-x86_64 +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/connectivity.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +- morph: strata/multimedia.morph +- morph: strata/genivi.morph +- morph: strata/genivi-x-generic.morph +- morph: strata/tools.morph +- morph: strata/virtualization.morph +- morph: strata/openstack-clients.morph +- morph: strata/nodejs.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files diff --git a/systems/qt4-devel-system-x86_64-generic.morph b/systems/qt4-devel-system-x86_64-generic.morph new file mode 100644 index 00000000..c35aa155 --- /dev/null +++ b/systems/qt4-devel-system-x86_64-generic.morph @@ -0,0 +1,26 @@ +name: qt4-devel-system-x86_64-generic +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/multimedia-gstreamer-0.10.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/tools.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +- morph: strata/qt4-tools.morph +- morph: strata/qt4-sdk.morph +- morph: strata/lua.morph +- morph: strata/connectivity.morph +- morph: strata/enlightenment.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files diff --git a/systems/qt5-devel-system-x86_64-generic.morph b/systems/qt5-devel-system-x86_64-generic.morph new file mode 100644 index 00000000..ba09f18d --- /dev/null +++ b/systems/qt5-devel-system-x86_64-generic.morph @@ -0,0 +1,26 @@ +name: qt5-devel-system-x86_64-generic +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/multimedia-gstreamer-0.10.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/tools.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +- morph: strata/qt5-tools.morph +- morph: strata/qt5-sdk.morph +- morph: strata/lua.morph +- morph: strata/connectivity.morph +- morph: strata/enlightenment.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files diff --git a/systems/trove-system-x86_64.morph b/systems/trove-system-x86_64.morph new file mode 100644 index 00000000..084c23dc --- /dev/null +++ b/systems/trove-system-x86_64.morph @@ -0,0 +1,22 @@ +name: trove-system-x86_64 +kind: system +description: Trove server +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/foundation.morph +- morph: strata/core.morph +- morph: strata/tools.morph +- morph: strata/trove.morph +- morph: strata/nfs.morph +- morph: strata/ansible.morph +- morph: strata/cloudinit-support.morph +configuration-extensions: +- set-hostname +- trove +- nfsboot-server +- fstab +- simple-network +- install-files +- cloud-init diff --git a/systems/web-system-x86_64-generic.morph b/systems/web-system-x86_64-generic.morph new file mode 100644 index 00000000..2719c922 --- /dev/null +++ b/systems/web-system-x86_64-generic.morph @@ -0,0 +1,22 @@ +name: web-system-x86_64-generic +kind: system +description: system with web tools +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/foundation.morph +- morph: strata/core.morph +- morph: strata/tools.morph +- morph: strata/nfs.morph +- morph: strata/databases.morph +- morph: strata/webtools.morph +- morph: strata/erlang.morph +- morph: strata/ruby.morph +- morph: strata/nodejs.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files diff --git a/systems/xfce-system.morph b/systems/xfce-system.morph new file mode 100644 index 00000000..f0604252 --- /dev/null +++ b/systems/xfce-system.morph @@ -0,0 +1,26 @@ +name: xfce-system +kind: system +description: A GENIVI devel with XFCE +arch: x86_64 +strata: +- morph: strata/build-essential.morph +- morph: strata/core.morph +- morph: strata/foundation.morph +- morph: strata/genivi-foundation.morph +- morph: strata/bsp-x86_64-generic.morph +- morph: strata/connectivity.morph +- morph: strata/audio-bluetooth.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +- morph: strata/multimedia.morph +- morph: strata/genivi.morph +- morph: strata/genivi-x-generic.morph +- morph: strata/gtk2.morph +- morph: strata/tools.morph +- morph: strata/xfce.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files diff --git a/trove-system-x86_64.morph b/trove-system-x86_64.morph deleted file mode 100644 index fb892d81..00000000 --- a/trove-system-x86_64.morph +++ /dev/null @@ -1,22 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- trove -- nfsboot-server -- fstab -- simple-network -- install-files -- cloud-init -description: Trove server -kind: system -name: trove-system-x86_64 -strata: -- morph: build-essential -- morph: bsp-x86_64-generic -- morph: foundation -- morph: core -- morph: tools -- morph: trove -- morph: nfs -- morph: ansible -- morph: cloudinit-support diff --git a/web-system-x86_64-generic.morph b/web-system-x86_64-generic.morph deleted file mode 100644 index 836bb45e..00000000 --- a/web-system-x86_64-generic.morph +++ /dev/null @@ -1,22 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -description: system with web tools -kind: system -name: web-system-x86_64-generic -strata: -- morph: build-essential -- morph: bsp-x86_64-generic -- morph: foundation -- morph: core -- morph: tools -- morph: nfs -- morph: databases -- morph: webtools -- morph: erlang -- morph: ruby -- morph: nodejs diff --git a/xfce-system.morph b/xfce-system.morph deleted file mode 100644 index 475aca6a..00000000 --- a/xfce-system.morph +++ /dev/null @@ -1,26 +0,0 @@ -arch: x86_64 -configuration-extensions: -- set-hostname -- add-config-files -- simple-network -- nfsboot -- install-files -description: A GENIVI devel with XFCE -kind: system -name: xfce-system -strata: -- morph: build-essential -- morph: core -- morph: foundation -- morph: genivi-foundation -- morph: bsp-x86_64-generic -- morph: connectivity -- morph: audio-bluetooth -- morph: x-common -- morph: x-generic -- morph: multimedia -- morph: genivi -- morph: genivi-x-generic -- morph: gtk2 -- morph: tools -- morph: xfce |