Baserock 12 is released!
by Pedro Alvarez
Baserock 12 is released
=======================
The [Baserock team] and [Codethink Limited] are proud to announce
version 12 of the Baserock system.
Baserock is a toolset and development methodology for developing
embedded and appliance Linux systems.
What's new in this version?
===========================
Cmdtest
-------
We updated the version of the cmdtest component used in Baserock. This
brings in a newer version of the yarn testing tool which has allowed us
to improve the Morph test suites to be cleaner and thus better.
SSH configuration extension
---------------------------
The ssh configuration extension's functionality has been replaced by
(non-identical, but equivalent) functionality in the install-files
configuration extension. Following the principle of simpler-is-better
we have therefore removed the ssh configuration extension and we
encourage users to migrate to install-files.
As an example of how to use this extension, add the environment variable
INSTALL_FILES to the deploy stanza for a system in the cluster
morphology:
name: foo
kind: cluster
systems:
- morph: base-system-x86_64-generic
repo: baserock:baserock/morphs
ref: master
deploy:
my-raw-disk-image:
type: rawdisk
location: /src/tmp/testdev.img
DISK_SIZE: 4G
INSTALL_FILES: foo-dir/manifest
Then create the 'foo-dir' directory:
foo-dir/
root/
.ssh/
id_rsa
id_rsa.pub
Where id_rsa and id_rsa.pub are the ssh key pair the root user on the
deployed system should have. Then create foo-dir/manifest:
0040755 0 0 /root
0040700 0 0 /root/.ssh
0100600 0 0 /root/.ssh/id_rsa
0100600 0 0 /root/.ssh/id_rsa.pub
After this, install-files will put the files in the right places on
the deployed system, with the right permissions.
Refactoring morph subcommands
-----------------------------
Work began on refactoring the 'build' command, but the new code will
not be available in Baserock until the next cycle.
Minor changes to morph
----------------------
* A number of bugs have been fixed during the Baserock 12 cycle,
including:
* prevent 'edit' subcommand being used without a system as argument.
* prevent building uncommmitted systems.
* deploy a non-cluster morphology now displays an error message.
* prevent cross-building.
* morph can now build when checking out a tag.
* We have improved the morph scenario test suite by:
* adding new scenarios, including regression scenarios for fixed
bugs, and replacing some of the old cmdtest based suite with
scenarios.
* reworking some of the statement language to be more consistent,
* making the voice of the scenarios slightly more active.
Changes to morphologies
=======================
Reducing redundancy in build dependencies
-----------------------------------------
Since at this time, build-depending on a stratum implicitly
build-depends on the build-dependencies of that stratum, we have
simplified the build-depends sections of the standard stratum
morphologies. This should make it easier to understand the relationship
between strata involved in building systems.
Other changes
-------------
* pyfilesystem, kexec-tools have been added to the 'tools' stratum.
* 'six' has been moved from 'glanceclient' to the 'tools' stratum.
* boto has been added to 'tools' to finish the integration of
cloud-init in Baserock. There is a short guide about how to deploy to
OpenStack on the [developing with Baserock] wiki page.
New systems and strata
----------------------
We have added a ceph services system which provides the daemons
necessary for the Ceph object, block and file storage services.
These daemons are contained within a ceph-service stratum which can be
included into your systems if you want them to be able to serve Ceph
filesystems.
This new system is an example and is not directly supported at this
time. However please do try it out if Ceph is of interest to you, and
let us know how you get on.
How do I get started?
=====================
You can find a [quick start] guide on the [Baserock wiki] and also
a short guide on [developing with Baserock] which follows on from
the quick start guide and shows you how to get to the point of proving
you can build Baserock within Baserock.
>From that point on, your imagination is the limit. You can follow our
development in the [Git repositories] we publish.
How do I get in contact?
========================
The Baserock project has an [IRC channel] and [mailing list] for
developers to gather and discuss anything associated with
Baserock. It is strongly recommended that you use the IRC and
lists to contact the team for anything associated with the public
development of Baserock. We also have a mailing list for
[announcements] which will be notified of any new releases or big
developments in Baserock.
If you manage to find a bug in Baserock, we'd like to hear
from you. You can find our [bug reporting guidelines] on the
Baserock wiki and we will do our best to help.
We hope you enjoy experimenting with Baserock and look forward to
hearing about any cool things you do with our work.
[Codethink limited]: http://www.codethink.co.uk/
[Baserock wiki]: http://wiki.baserock.org/
[Baserock team]: http://wiki.baserock.org/team/
[Git repositories]: http://git.baserock.org/cgi-bin/cgit.cgi
[IRC Channel]: http://wiki.baserock.org/irc-channel/
[mailing list]: http://wiki.baserock.org/mailinglist/
[announcements]: http://wiki.baserock.org/mailinglist/
[download page]: http://wiki.baserock.org/download/
[quick start]: http://wiki.baserock.org/quick-start/
[developing with Baserock]: http://wiki.baserock.org/devel-with/
[bug reporting guidelines]: http://wiki.baserock.org/bug-reporting/
[Baserock GENIVI Baseline]:
http://projects.genivi.org/GENIVI_Baselines/genivi-baserock/
9 years, 4 months
[PATCHv4 0/3] Convert xattr scenarios
by Ben Brown
Repo: baserock:baserock/tbdiff
Ref: benbrown/S9537/convert-xattribute-tests
Sha1: 646dcf88fb2a79a9567f3fadf9711e2e6bc58176
Card: S9537
Ben Brown (3):
Add newlines to increase readability
Scenarios testing extended attributes on file systems that support
them
Remove old tests and any code specific to those tests
tests/08_chardev_diff.sh | 29 ------
tests/09_chardev_add_remove.sh | 30 ------
tests/10_blockdev_diff.sh | 29 ------
tests/11_blockdev_add_remove.sh | 30 ------
tests/12_socket_remove.sh | 42 ---------
tests/13_socket_add.sh | 38 --------
tests/14_socket_diff.sh | 44 ---------
tests/15_xattr_add.sh | 37 --------
tests/dir_add_remove.sh.disabled | 41 --------
tests/dir_diff.sh.disabled | 40 --------
tests/fifo_add_remove.sh.disabled | 32 -------
tests/fifo_diff.sh.disabled | 32 -------
tests/regular_file_add_remove.sh.disabled | 32 -------
tests/regular_file_diff.sh.disabled | 40 --------
tests/run_tests.sh | 18 ----
tests/sockbind.c | 70 --------------
tests/symlink_add_remove.sh.disabled | 48 ----------
tests/symlink_diff.sh.disabled | 57 -----------
tests/test_lib.sh | 152 +-----------------------------
yarns/create-deploy.yarn | 132 ++++++++++++++++++++++++++
yarns/tbdiff.shell-lib | 10 ++
21 files changed, 144 insertions(+), 839 deletions(-)
delete mode 100755 tests/08_chardev_diff.sh
delete mode 100755 tests/09_chardev_add_remove.sh
delete mode 100755 tests/10_blockdev_diff.sh
delete mode 100755 tests/11_blockdev_add_remove.sh
delete mode 100755 tests/12_socket_remove.sh
delete mode 100755 tests/13_socket_add.sh
delete mode 100755 tests/14_socket_diff.sh
delete mode 100755 tests/15_xattr_add.sh
delete mode 100755 tests/dir_add_remove.sh.disabled
delete mode 100755 tests/dir_diff.sh.disabled
delete mode 100755 tests/fifo_add_remove.sh.disabled
delete mode 100755 tests/fifo_diff.sh.disabled
delete mode 100755 tests/regular_file_add_remove.sh.disabled
delete mode 100755 tests/regular_file_diff.sh.disabled
delete mode 100644 tests/sockbind.c
delete mode 100755 tests/symlink_add_remove.sh.disabled
delete mode 100755 tests/symlink_diff.sh.disabled
--
1.8.5.1
9 years, 5 months
[PATCHv3 0/3] Socket creation program and scenarios
by Ben Brown
epo: baserock:baserock/tbdiff
Ref: benbrown/S9482/convert-socket-tests
Sha1: 3e381b0954d68432e4667dcd7619385f754bc488
Card: S9482
Ben Brown (3):
Added C program which creates named Unix sockets
Add socket creation program to Makefile
Socket scenarios added
Makefile.am | 3 ++-
yarns/create-deploy.yarn | 47 ++++++++++++++++++++++++++++++++++++++++++++---
yarns/sockbind.c | 41 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 87 insertions(+), 4 deletions(-)
create mode 100644 yarns/sockbind.c
--
1.8.4.rc3
9 years, 5 months
[RFC] Add optional overwrite option
by Richard Ipsum
This might be useful if we want to replace existing config files
for certain deployments.
Richard Ipsum (1):
Add optional overwrite option
morphlib/exts/install-files.configure | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
--
1.7.10.4
9 years, 5 months
[PATCH] Fix over-indentation
by Ben Brown
Repo: baserock/baserock/morph
Ref: benbrown/RT44
Sha1: 971075210585ac8eab5f30f8df3fad8c99244b5b
Ben Brown (1):
Fix indentation in artifact_inspection_plugin.py
morphlib/plugins/artifact_inspection_plugin.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
--
1.8.5.1
9 years, 5 months
[PATCHv5 0/4] Filesystem refactor
by Ben Brown
Repo: baserock/baserock/morph
Ref: benbrown/RT44
Sha1: 10c85dd0ebf03038db50a77f697a1624ce723eca
Card: S9502
I know Jannis said don't fear the rebase, but I'll feel like I'm taking it
a little too far.
Daniel Firth (4):
Refactored localrepocache
Replaces Tempdir with fs.tempfs.TempFS
Removed unused CacheDir class
LocalArtifactCache now takes a an FS object
morphlib/__init__.py | 2 -
morphlib/cachedir.py | 86 ----------------
morphlib/cachedir_tests.py | 128 ------------------------
morphlib/cachedrepo_tests.py | 65 +++++++------
morphlib/localartifactcache.py | 48 ++++-----
morphlib/localartifactcache_tests.py | 34 +++----
morphlib/localrepocache.py | 130 +++++++------------------
morphlib/localrepocache_tests.py | 60 +++++-------
morphlib/plugins/artifact_inspection_plugin.py | 31 +++---
morphlib/plugins/gc_plugin.py | 3 +-
morphlib/tempdir.py | 48 ---------
morphlib/tempdir_tests.py | 57 -----------
morphlib/util.py | 8 +-
13 files changed, 149 insertions(+), 551 deletions(-)
delete mode 100644 morphlib/cachedir.py
delete mode 100644 morphlib/cachedir_tests.py
delete mode 100644 morphlib/tempdir.py
delete mode 100644 morphlib/tempdir_tests.py
--
1.8.5.1
9 years, 5 months
[PATCHv4 0/3] Fix morph cross-bootsrap
by Pedro Alvarez
Repo: baserock:baserock/morph
Branch: baserock/pedroalvarez/fix-cross-bootstrap5
Sha1: 41206935bfa0d33cede52f093b5dc11ed2a6d4a5
Ben Brown (1):
Deploy and cross-bootstrap commands no longer validate host
architecture
Pedro Alvarez (2):
Fix old cross-bootstrap test
Add yarn test for cross-bootstrap
morphlib/plugins/cross-bootstrap_plugin.py | 13 ++++++
morphlib/plugins/deploy_plugin.py | 4 ++
tests.build/cross-bootstrap.script | 3 +-
yarns/architecture.yarn | 11 +++++
yarns/implementations.yarn | 60 +++++++++++++++++++++++++++-
5 files changed, 88 insertions(+), 3 deletions(-)
--
1.7.10.4
9 years, 5 months
[PATCHv4 0/4] Filesystem refactor
by Ben Brown
Repo: baserock/baserock/morph
Ref: benbrown/RT44
Sha1: 34ac252bd6fa7e397b85693b2539b7c65bf425bf
Card: S9502
Daniel Firth (4):
Refactored localrepocache
Replaces Tempdir with fs.tempfs.TempFS
Removed unused CacheDir class
LocalArtifactCache now takes a an FS object
morphlib/__init__.py | 2 -
morphlib/cachedir.py | 86 ----------------
morphlib/cachedir_tests.py | 128 ------------------------
morphlib/cachedrepo_tests.py | 65 +++++++------
morphlib/localartifactcache.py | 47 ++++-----
morphlib/localartifactcache_tests.py | 34 +++----
morphlib/localrepocache.py | 130 +++++++------------------
morphlib/localrepocache_tests.py | 60 +++++-------
morphlib/plugins/artifact_inspection_plugin.py | 10 +-
morphlib/plugins/gc_plugin.py | 3 +-
morphlib/tempdir.py | 48 ---------
morphlib/tempdir_tests.py | 57 -----------
morphlib/util.py | 10 +-
13 files changed, 137 insertions(+), 543 deletions(-)
delete mode 100644 morphlib/cachedir.py
delete mode 100644 morphlib/cachedir_tests.py
delete mode 100644 morphlib/tempdir.py
delete mode 100644 morphlib/tempdir_tests.py
--
1.8.5.1
9 years, 5 months
[PATCHv3 0/3]
by Pedro Alvarez
Repo: baserock:baserock/morph
Branch: baserock/pedroalvarez/fix-cross-bootstrap5
Sha1: 2b041fc226054ca1d838b5ba6e2dfdac7cdd4be8
Ben Brown (1):
Deploy and cross-bootstrap commands no longer validate host
architecture
Pedro Alvarez (2):
Fix old cross-bootstrap test
Add yarn test for cross-bootstrap
morphlib/plugins/cross-bootstrap_plugin.py | 13 +++++++++++++
morphlib/plugins/deploy_plugin.py | 4 ++++
tests.build/cross-bootstrap.script | 3 ++-
yarns/architecture.yarn | 11 +++++++++++
yarns/implementations.yarn | 28 ++++++++++++++++++++++++++++
5 files changed, 58 insertions(+), 1 deletion(-)
--
1.7.10.4
9 years, 5 months