Adrian Perez
bd6bd0eed5
ostree-pull: Fix segfault by initializing pull_data earlier
...
In the case of not being able to check the repository or not being able
to parse command line arguments, attributes from "pull_data" would be used
with garbage in them. This patch makes initialization of the sctructure to
happen earlier so it is safe to use in those cases.
2012-05-09 14:10:23 -04:00
Colin Walters
d9bc7e0acd
ostbuild: build-components: Ensure specifying components forces rebuild
2012-05-09 12:46:04 -04:00
Colin Walters
d2da92be07
Move gnomeos/ to "gnome-ostree" module
...
Now that we're hopefully going to be changing the format less. The
layering here is now more clear, rather than having things entangled.
2012-05-09 09:29:27 -04:00
Colin Walters
cefbe90281
Release 2012.6
2012-05-08 11:59:59 -04:00
Colin Walters
d43e8cf0b6
build: A few dist fixes so a tarball build works
2012-05-08 11:59:59 -04:00
Colin Walters
dfbf1f7ac6
ostadmin: Use /ostree for current working directory of checkouts
...
Otherwise we put them in the wrong place.
2012-05-08 10:21:38 -04:00
Colin Walters
9179d1b27a
ostadmin: Make a /ostree/current symbolic link
2012-05-08 09:14:03 -04:00
Colin Walters
18b6f5fd0c
ostadmin: Initial code
2012-05-07 20:43:03 -04:00
Carl-Anton Ingmarsson
1de0cc238b
ostbuild: further fixes to pull-components
...
Call self.parse_config() so that all necessary directories are parsed.
Also don't call nonexistant self.parse_active_branch() and just use
self.active_branch since it's already have been initialized.
2012-05-07 17:54:04 -04:00
Carl-Anton Ingmarsson
5d306dabda
gnomeos: fix ostree-install.sh
...
add back ARCH and BRANCH_PREFIX constants which are still in use.
2012-05-07 17:54:04 -04:00
Carl-Anton Ingmarsson
c6ea1bedd5
15_ostree: only look for ostree initramfs
...
also only add a kernel entry if we find a corresponding initramfs
2012-05-07 17:54:04 -04:00
Colin Walters
f487500e50
ostbuild: Default to (previous) --skip-built
...
For components specified on the command line, we now force a rebuild.
There's also a new option to skip if the git revision matches, but
metadata changed (useful for now to avoid cascading builds if you know
you don't need it).
2012-05-07 17:51:12 -04:00
Colin Walters
572de2dd62
NetworkManager: Fix permissions on config file
...
https://mail.gnome.org/archives/ostree-list/2012-May/msg00008.html
2012-05-07 14:55:57 -04:00
Matthias Clasen
2ca6f04265
ostbuild: make pull-components work
...
This builtin did not work for me. It did not initialize self.repo,
it used the nonexisting parse_active_branch function unconditionally,
and it did not actually find the list of components in contents.json.
This commit fixes all three of these issues.
2012-05-06 14:09:28 -04:00
Matthias Clasen
ae0b4ac628
Fix a typo
2012-05-06 13:57:09 -04:00
Matthias Clasen
07f67f3baf
ostree: avoid a segfault
...
When running ostree --repo=/ostree/repo without further arguments,
we end up calling strcmp with one argument being NULL.
2012-05-06 13:56:57 -04:00
Matthias Clasen
4a03176489
checkout: Deal gracefully with bad input
...
I had a /ostree/gnomeos-3.4-i686-devel directory, and this caused
ostree --repo=repo checkout gnomeos-3.5-i686-devel
to segfault.
2012-05-06 09:23:49 -04:00
Colin Walters
e4bc1494af
Release 2012.5
2012-05-05 16:03:53 -04:00
Colin Walters
c0e73c9fa0
core: pack: Fix calculation of size of pack objects
...
In archive mode, due to the previous change, we're now only
looking at metadata size, which is clearly wrong.
2012-05-05 16:00:53 -04:00
Colin Walters
a0ad28c16c
core: pull: Fix regression from memory leak fixes
2012-05-05 14:59:14 -04:00
Colin Walters
22ab052458
gnomeos: Delete some files that are now on the wiki
2012-05-05 12:58:56 -04:00
Colin Walters
15eef27b87
Release 2012.4
2012-05-05 11:53:05 -04:00
Colin Walters
38dd179017
core: Compile again on GLib 2.28
2012-05-05 11:45:19 -04:00
Colin Walters
471c04605e
Release 2012.3
2012-05-05 11:06:59 -04:00
Colin Walters
8206793a70
Revert "manifest local"
...
This reverts commit b052758652
.
Conflicts:
gnomeos/3.4/gnomeos-3.4-src.json
2012-05-05 10:42:56 -04:00
Colin Walters
ba1c75c61b
ostbuild: Drop use of link cache, it's gone now
2012-05-05 09:54:42 -04:00
Colin Walters
e213e2b5df
Clean up install scripts
2012-05-04 16:16:17 -04:00
Colin Walters
9aa9397e42
ostbuild: Create deploy-qemu subcommand
2012-05-04 16:16:16 -04:00
Colin Walters
5560c04770
gnomeos-setup: Initialize /var dynamically in ginitscripts
...
Rather than doing it in an installer.
2012-05-04 16:16:16 -04:00
Colin Walters
a2d937c2f0
triggers: Print name of each trigger we're running
2012-05-04 16:16:16 -04:00
Adrian Perez
5835bb72b4
ostbuild: Make --shell-on-failure flag to work
...
Fixes an issue which would cause ostbuild to fail to spawn the
debug shell and print a traceback instead.
2012-05-04 16:16:16 -04:00
Colin Walters
0597a3f71c
ostbuild: More work on deploy commands
2012-05-04 16:16:16 -04:00
Colin Walters
3a365521a8
ostbuild: Use --from-file for buildroot compose for easier debugging
2012-05-04 16:16:16 -04:00
Colin Walters
8785fefda8
ostbuild: Rename shadow-repo-init -> init
2012-05-04 16:16:16 -04:00
Colin Walters
44bb3aaa54
qemu-pull: Update to use pull-local
2012-05-04 16:16:16 -04:00
Colin Walters
851a9c2ce9
ostbuild: Checksum full component metadata for --skip-built
...
If we're using --skip-built, we really do want to rebuild if anything
changed (like the build dependency, configure arguments etc.)
2012-05-04 16:16:16 -04:00
Colin Walters
29b230107e
ostbuild: Break out git-mirror from resolve
...
Other bits
2012-05-04 16:16:16 -04:00
Colin Walters
986cd2172b
ostbuild: Use expanduser
2012-05-04 16:16:16 -04:00
Colin Walters
938f4eaf44
ostbuild: Lots more
2012-05-04 16:16:16 -04:00
Colin Walters
b845e0a2bb
ostbuild: Resolve takes --manifest arg
2012-05-04 16:16:16 -04:00
Colin Walters
a6a8e00edf
ostbuild: Add tree-to-bin and bin-to-src
2012-05-04 16:16:16 -04:00
Adrian Perez
0e266d3f92
ostbuild: Fix DB saving with /tmp and builddir in different volumes
...
This fixes the case where /tmp resides in one volume, and the build
directory in a different one: by storing the temporary file in the
same directory as the target one, we avoid the case in which os.rename()
would cross file system boundaries.
Reviewed-by: Colin Walters <walters@verbum.org>
2012-05-04 16:16:16 -04:00
Colin Walters
717cec46c3
ostbuild: Major rework
2012-05-04 16:16:16 -04:00
Colin Walters
b052758652
manifest local
2012-05-04 16:16:16 -04:00
Colin Walters
7280ce358d
ostbuild: Show ostbuild log messages in warningfilter again
2012-05-04 16:16:16 -04:00
Colin Walters
04befb35d4
gnomeos-install: Call ostree.gnome.org server "gnome", not "origin"
2012-05-04 16:16:16 -04:00
Colin Walters
d040b61d19
core: checkout: Add --from-file option too
...
Easier for debugging if we don't have to redirect stdin.
Conflicts:
src/ostree/ot-builtin-checkout.c
2012-05-04 16:15:20 -04:00
Colin Walters
0660d9e5cf
core: Improve error message if we hit an unreadable file
2012-05-04 16:14:47 -04:00
Colin Walters
26c484faed
core: Add a mutex to cache data structures in preparation for threading
...
Conflicts:
src/libostree/ostree-repo.c
2012-05-04 16:14:28 -04:00
Colin Walters
6cdbedf4e6
core: pull-local: Be a bit more verbose, don't open objects we already have
2012-05-04 16:13:44 -04:00