Commit Graph
100 Commits
Author SHA1 Message Date
Colin Walters d3a73225b0 core: Add API to enumerate all refs 2012-02-27 05:58:42 -05:00
Colin Walters 6ff07e0b3e pull: Print download URLs by default, rather than requiring -v
Let's leave verbose for more debug-type stuff.
2012-02-26 08:35:26 -05:00
Colin Walters 828bd253f9 3.4: Drop upstreamed gnome-panel patches 2012-02-26 08:13:34 -05:00
Colin Walters 17e7f58b9a 3.4: Drop upstreamed NetworkManager patches 2012-02-26 06:36:29 -05:00
Colin Walters 81b8208d2b manifest: xorg-video-intel needs the xorg-autogen.patch too
Not sure how this worked before...
2012-02-26 06:02:29 -05:00
Colin Walters 5329f1706b core: Further fix fallout from archive mode files
Continuing from 16c0cfe9b5, we now have
the problem that we're removing the executable bit, which obviously
breaks things when we chroot in for a build.  Fix this by masking over
our bits.
2012-02-24 17:50:44 -05:00
Colin Walters 0e5919bde1 core: Disable Soup-gnome features for pull
Otherwise we get a dconf thread that tries to talk to the session bus.
I think this comes from the proxy settings lookup.
2012-02-24 17:26:17 -05:00
Colin Walters ab58faefef core: Disable Gvfs for binaries
Otherwise
1) Lots of unnecessary shit happens and I like my straces to be clean
2) There is no dbus session bus for system daemons or when we're run
   in a root context
2012-02-24 17:24:50 -05:00
Colin Walters 51916a7002 core: Look up refs like origin/foo correctly again
We want to support both "bare" lookups where "foo" can be local, or in
any remote, as well as prefixed ones for a specific remote.

This fixes ostree-pull noticing that nothing has changed.
2012-02-24 16:08:34 -05:00
Colin Walters a90e091037 build: Note the status of libsoup-gnome and libarchive
So fewer people accidentally compile without one.
2012-02-24 15:40:52 -05:00
Colin Walters 82847bba24 yocto: Various misc cleanups to install scripts
Add a new gnomeos-update-branches.sh script which just does the work
of checking out roots.  This is useful if you e.g. make a local
modification.

Rename scripts to gnomeos-*.sh consistently.

Tweak gnomeos-clone-qemu.sh script to support command line arguments
(again).
2012-02-24 15:18:51 -05:00
Colin Walters 11e3490337 README-install: Add a blurb about running 2012-02-24 11:56:31 -05:00
Colin Walters beba186476 install: Do two separate pull commands
Right now ostree-pull only accepts one ref.
2012-02-24 11:32:06 -05:00
Colin Walters d7705e874f gnomeos: Some fixes for install script 2012-02-24 11:23:44 -05:00
Colin Walters db925997da gnomeos: Clean up README files, add new README-install.md 2012-02-24 11:07:45 -05:00
Colin Walters ea86dc4588 install.sh: We're not installing kernels right now 2012-02-24 11:07:30 -05:00
Colin Walters a417ee3fed core: Add "prune" builtin
This should be useful on clients to trim old refs.  For example,
after an upgrade the system could do:

ostree --repo=/ostree/repo prune --depth=2 gnomeos-3.4-i686-runtime

This would remote all objects that aren't in the current build and the
previous one.
2012-02-24 10:23:35 -05:00
Colin Walters 4e3621236e 3.4: Update gdm patch, enable consolekit 2012-02-24 10:23:10 -05:00
Colin Walters 16c0cfe9b5 core: Fix regression when committing symlinks in archive mode
Commit 802959f398 broke this because it
made all archived content files be S_IFREG, which is clearly wrong.
2012-02-24 10:05:26 -05:00
Colin Walters f14ea4b2bf install.sh: Default to pulling from http://ostree.gnome.org/repo 2012-02-23 23:53:30 -05:00
Colin Walters 14cda593d5 core: Correctly look up refs in remotes 2012-02-23 23:52:59 -05:00
Colin Walters 8145faecbf pull: Don't automatically uncompress data
This totally breaks when the file we're trying to request was already
gzip'd.  We don't want to uncompress e.g. man pages because that
breaks content-addressed storage.
2012-02-23 21:52:15 -05:00
Colin Walters 7907a853b4 pull: Incrementally write into temporary file
Rather than downloading into one big chunk in memory, then writing all
at once.
2012-02-23 19:20:36 -05:00
Colin Walters b2ad353b42 core: Store "pending" objects explicitly, fix pull to use them
Before we were creating randomly-named temporary files in repo/tmp
when downloading via pull, but that means if the download process is
interrupted, we have to redownload everything again.

Let's still keep the concept of a "transaction" where files are
stored in the repository as atomically as possible (i.e. we
do a bunch of rename() calls), but now we also have an explicit
"tmp/pending/objects" directory that contains named objects.

This allows us to then skip redownloading things that are pending.
2012-02-23 18:19:00 -05:00
Colin Walters 802959f398 core: Ensure .archive-content files are mode 0644
We don't want to inherit the permissions of the actual file, otherwise
trying to fetch e.g. /etc/passwd when being served via Apache httpd
will break.
2012-02-23 12:34:43 -05:00
Colin Walters dee30bda7c pull: Only fetch .archive-content for regular files
Otherwise e.g. Apache httpd might try to follow a symbolic link to
/bin/tinylogin which clearly won't work.
2012-02-23 12:30:01 -05:00
Colin Walters 0276be768d 3.4: Switch to gnome-terminal gnome-3-4 branch 2012-02-23 10:58:34 -05:00
Colin Walters 2fe86ea63e 3.4: Fix panel build 2012-02-23 10:50:56 -05:00
Colin Walters 07e3311517 3.4: Bump telepathy-glib 2012-02-23 08:21:17 -05:00
Colin Walters 50ed95dde3 3.4: Fix accountsservice srcdir != builddir 2012-02-22 22:53:24 -05:00
Colin Walters bd024e66af 3.4: Add xf86-input-wacom
Needed by the latest gnome-settings-daemon.
2012-02-22 17:57:44 -05:00
Colin Walters 53eccf5781 3.4: Switch back to folks master, disable introspection in libgnomekbd
We're building libxklavier with no introspection, so we can't
enable it in libgnomekbd.
2012-02-22 17:20:24 -05:00
Colin Walters be67df0bd3 3.4: Add patch for latest NetworkManager 2012-02-22 16:46:42 -05:00
Colin Walters 0a195e6874 ostbuild: Make resolve fully expand config-opts, delete now-unnecessary vcsconfig
The source manifest format allows for compression, but it's more
convenient for consuming code if it's fully expanded in one place.
2012-02-22 15:17:42 -05:00
Colin Walters b26b981b0d ostbuild: Use correct directory for submodule update 2012-02-22 14:17:18 -05:00
Colin Walters 9939f1861d osbuild: Don't use linux-user-chroot for git submodules
On the ostree.gnome.org build server, LDAP is used for username
lookups, and git aborts if it can't look up the user.
2012-02-22 11:51:18 -05:00
Colin Walters 341096f18a ostbuild: Drop down to Python 2.6
Hopefully this gets us working on RHEL6.
2012-02-20 22:31:10 -05:00
Colin Walters 4aa8ff61de contents: Add cpio to RDEPENDS 2012-02-20 19:08:22 -05:00
Colin Walters 98f1f8c3cf yocto: Update to newer ostree commit 2012-02-20 17:44:15 -05:00
Colin Walters 00ad0a2ea7 gnomeos: Drop ostree-init module
We use dracut+ostree-switch-root now
2012-02-20 14:00:56 -05:00
Colin Walters fbaf32f776 build: Check for attr/xattr.h 2012-02-20 13:59:52 -05:00
Colin Walters 1ed90d0b1f gnomeos: Add py2cairo-autogen.patch
Forgot to commit this file
2012-02-20 13:58:13 -05:00
Colin Walters 21f1ca364f triggers: Fix comparison function 2012-02-19 21:10:59 -05:00
Colin Walters 633da1e7ad triggers: We need to order their execution
Otherwise we run in inode order which is unpredictable.  In particular
this causes problems because we might run e.g. the gtk+ trigger before
the gdk-pixbuf one.  And ldconfig should really be first.
2012-02-19 20:52:50 -05:00
Colin Walters 339271726a gnomeos: Kill Yocto init scripts, switch to my ginitscripts
There's reams of crud in the Yocto ones, and we need a place
to put our custom scripts.
2012-02-19 20:51:42 -05:00
Colin Walters 0a428d2bce yocto: Don't overwrite target with initial compose
The idea of creating the "initial compose" is it should be just that -
initial.  If we've later added stuff via ostbuild, we don't want to
overwrite it.  ostbuild will itself recompose from the base.
2012-02-18 11:21:17 -05:00
Colin Walters e79209da91 initscripts: Don't create udev init script here
Instead we'll just patch the poky one.
2012-02-18 11:18:11 -05:00
Colin Walters 78dd9171e4 yocto: Switch to util-linux "mount"
Just more Busybox replacement.
2012-02-18 11:11:16 -05:00
Colin Walters f1e38d6e4b ostbuild: Add --recompose argument
This is necessary to run after rebuilding the Yocto base.
2012-02-16 18:30:42 -05:00
Colin Walters c2f32689e7 initscripts: Install udev init script 2012-02-16 18:06:37 -05:00
Colin Walters f61632d2cc yocto: Also use udevadm from ostbuild 2012-02-13 18:20:24 -05:00
Colin Walters 6fa1c5cfc8 clone-qemu: Also rsync modules/ directory 2012-02-13 15:32:42 -05:00
Colin Walters f9e4e62a8b yocto: Create correct udev link 2012-02-13 15:32:32 -05:00
Colin Walters 8729997eab switchroot: Bind mount /lib/modules after we mount /lib
Otherwise we don't ge the right /lib/modules.
2012-02-13 10:56:13 -05:00
Colin Walters dd4982ff29 yocto: Move modules to /ostree, other misc fixes 2012-02-11 09:23:29 -05:00
Colin Walters fcd70e5891 switchroot: Bind mount /lib/modules from /ostree/modules
Since we have kernels outside of the tree, keep modules outside
too.
2012-02-10 19:17:29 -05:00
Colin Walters d79aac6d3a manifest: Pull in py2cario, pygobject, and caribou
Needed for gnome-shell.
2012-02-09 17:35:09 -05:00
Colin Walters 351d243ccf ostbuild: Fix --debug-shell
We want to reuse an existing source tree.
2012-02-09 16:47:25 -05:00
Colin Walters 97d8a342ce manifest: Rebase dracut branch 2012-02-09 12:39:13 -05:00
Colin Walters ee712b8419 installer: Rename run.sh to clone-qemu.sh
The idea here is that we expect people to run installed (i.e. with
host kernel), but we now have an option to boot via qemu too.
2012-02-09 12:38:21 -05:00
Colin Walters 883896a1b2 initscripts: Kill gnomeudev script; udev runs from dracut now 2012-02-09 12:37:40 -05:00
Colin Walters 820709e791 ostbuild: When doing a fetch, call fetch before trying to mirror the branch
Otherwise when the manifest specifies a branch we haven't fetched, we
error out.
2012-02-09 11:19:33 -05:00
Colin Walters feca75a930 switchroot: remount rootfs read/write
See rationale in comment.
2012-02-08 22:23:25 -05:00
Colin Walters 8e944cbffd ostree-switch-root: Correctly prepend sysroot before mounts to move from dracut 2012-02-08 20:22:27 -05:00
Colin Walters 78bc1bbb20 installer: Fix typo 2012-02-08 20:22:04 -05:00
Colin Walters 2231bdac52 installer: Further work on booting with host kernel, modified dracut 2012-02-08 17:34:08 -05:00
Colin Walters f30325ba3a manifest: Build dracut 2012-02-08 17:33:52 -05:00
Colin Walters 510de35f83 installer: Ensure we have /var/tmp 2012-02-08 17:33:31 -05:00
Colin Walters 4d3763159b contents: Pull in module-init-tools and cpio
Both needed by dracut.
2012-02-08 17:33:01 -05:00
Colin Walters 0172ab5a3a switchroot: Further work on being dracut-only 2012-02-08 17:32:34 -05:00
Colin Walters fef67756f9 ostbuild: Add 'status' command
Roughly equivalent to 'jhbuild info'.
2012-02-08 16:37:14 -05:00
Colin Walters a904c9693b Add ostree-switch-root here
Merge the code from ostree-init; now that we're back to targeting an
initramfs (dracut), we don't need to statically link the binary, so
there's no strong reason to have a separate module.
2012-02-05 16:02:44 -05:00
Colin Walters 4de5a36b24 gnomeos: More tweaks to install/run scripts
The run script now allows using the current kernel+initrd.
2012-02-04 10:46:00 -05:00
Colin Walters 1aaf74651b gnomeos: Fix hwdata install 2012-02-04 10:44:46 -05:00
Colin Walters 5fe008bb9e README: Some more details. 2012-02-03 18:21:42 -05:00
Colin Walters 6647050978 Update READMEs a bit 2012-02-03 08:42:07 -05:00
Colin Walters 9fb842443e gnomeos-contents: Try to ensure we have ostree-native 2012-02-02 13:57:02 -05:00
Colin Walters 097c1b8025 vcs: Delete temporary directory too 2012-02-02 13:56:46 -05:00
Colin Walters 73fa98694e builtins: Fix error message if workdir doesn't exist 2012-02-02 13:56:25 -05:00
Colin Walters a9e153fbea README: Fixes 2012-02-02 13:55:49 -05:00
Colin Walters 845ba39a0e ostbuild: Add 'checkout' builtin
This is useful for the developer to get the source code of
several things at exactly the revision specified in the manifest.
2012-02-02 09:22:44 -05:00
Colin Walters df92b8d46f ostbuild: Unify mirrordir lookup code 2012-02-02 08:40:18 -05:00
Colin Walters 1d93adc925 gnomeos: start writing an install script 2012-02-02 07:46:52 -05:00
Colin Walters f1930d2c99 triggers: Fix typo in gconf trigger 2012-01-31 22:59:28 -05:00
Colin Walters c83cd8f344 yocto: Add glib-2.0 depends for ostree 2012-01-31 22:54:32 -05:00
Colin Walters a8151ac836 Add gconf trigger 2012-01-31 22:54:23 -05:00
Colin Walters a8d9e9b9e0 yocto: Switch ostree recipie to pull from GNOME git 2012-01-31 22:14:06 -05:00
Colin Walters 21ab320eef gnomeos: Ensure we build ConsoleKit with PK support 2012-01-31 20:42:43 -05:00
Colin Walters 40bbb2f782 gnomeosdistro.conf: Enable 6 gettys by default 2012-01-31 19:27:59 -05:00
Colin Walters c69f5ebd03 run.sh: Bump default memory to 512M 2012-01-31 19:27:59 -05:00
Colin Walters dea60e36dc run.sh: Enable qemu monitor by default 2012-01-31 19:27:59 -05:00
Colin Walters 22e1822d24 gnomeos: Fix /var/shadow link 2012-01-31 18:58:23 -05:00
Colin Walters 914f9ffc61 ostbuild: Actually compose devel image from devel base
Otherwise we don't have gcc, gdb, git etc...
2012-01-31 18:57:02 -05:00
Colin Walters 7fc3630222 README: A few more bits 2012-01-31 18:28:16 -05:00
Colin Walters a4e1d832fe README: Some docs on building 2012-01-31 18:08:24 -05:00
Colin Walters 85df143017 initscripts: Bump PR
This should ensure we actually override an earlier version.
2012-01-31 13:04:18 -05:00
Colin Walters 8bdcb6adae initscripts: Kill bootmisc.sh, add gnomemisc 2012-01-31 11:24:11 -05:00
Colin Walters 39f2616eb4 gnomeos: Ensure we have a symlink to an empty /var/shadow 2012-01-30 23:15:58 -05:00
Colin Walters df01189614 gnomeos: Move /var/lib/gdm creation into run.sh
We don't use /var from the images really.
2012-01-30 20:52:37 -05:00
Colin Walters 905104e704 gnomeos: DISTRO_FEATURES += pam 2012-01-30 20:52:23 -05:00