5134 Commits

Author SHA1 Message Date
Colin Walters
0c568ff604 parallel-debian: Rework scripts to not use loopback mounts
It's not necessary and adds a lot of overhead for the build. Instead,
just dynamically make an ext4 image of the fs when booting in QEMU.
2011-10-26 18:42:55 -04:00
Colin Walters
d0b3a07cf1 core: Fix checksum for symlinks walking off into uninitialized memory 2011-10-26 18:33:33 -04:00
Colin Walters
0f09ccea22 parallel-debian: Add install and run scripts 2011-10-26 17:16:46 -04:00
Colin Walters
8af2c6fbb8 gnomeos-make-image.sh: Don't copy kernel
There's no point.
2011-10-26 16:33:11 -04:00
Colin Walters
a9da340e27 gnomeos-make-image.sh: Take care of downloading and patching dracut 2011-10-26 15:00:04 -04:00
Colin Walters
6f00173ff2 gnomeos-make-image.sh: Check for some dependencies before we run 2011-10-26 14:59:45 -04:00
Colin Walters
12314e4adf One more missing substitution for previous commit 2011-10-26 14:43:50 -04:00
Colin Walters
f8b178b452 gnomeos-make-image.sh: Support out of tree ostree 2011-10-26 14:42:58 -04:00
Colin Walters
bb833ea347 Add Makefile for ostree_switch_root 2011-10-26 14:40:36 -04:00
Colin Walters
03943c659f Drop glib requrirement to 2.28
This lets it build on more currently-released systems like Fedora 15.
2011-10-26 14:12:13 -04:00
Colin Walters
37bea9f29d configure: Use AC_PROG_LIBTOOL
This apparently helps autoreconf know we're using libtool.
2011-10-26 13:52:42 -04:00
Colin Walters
561b54d7e1 debian-setup.sh: I can log in now 2011-10-26 13:14:05 -04:00
Colin Walters
4d86ee0a1d Pile of work on parallel-debian 2011-10-24 22:02:16 -04:00
Colin Walters
ad4ae3c0f1 configure: make missing prototypes an error always 2011-10-21 11:27:40 -04:00
Colin Walters
5146890457 Move triggers into new builtin: ostree run-triggers 2011-10-21 09:55:39 -04:00
Colin Walters
4d39070efd Fix up triggers and gnomeos-make-image.sh
Now both do something.
2011-10-20 17:24:21 -04:00
Colin Walters
a2880a6ddd src: Squash some unused variables 2011-10-20 16:30:34 -04:00
Colin Walters
9d8522dfa1 Some initial work on triggers 2011-10-20 16:12:02 -04:00
Colin Walters
629b6293c1 parallel-debian: Just more in progress work... 2011-10-20 16:12:02 -04:00
Colin Walters
8c6bc8e54b TODO: Update 2011-10-20 16:12:02 -04:00
Colin Walters
c13d6626e2 ostree.doap: Rename 2011-10-20 16:12:02 -04:00
Colin Walters
b7d45436a0 Don't use g_variant_new_from_fixed_array(), it was only added in 2.31
g_variant_new_from_data() works, and actually allows us to avoid
a memdup()/free().
2011-10-20 10:20:51 -04:00
Colin Walters
33232117d5 parallel-debian: More in progress work... 2011-10-19 20:54:28 -04:00
Colin Walters
50b1051ba0 gnomeos-make-image.sh: New script
This uses debootstrap, and sets up the root filesystem like we expect.
Still working on an automated way to download the kernel binary,
initrd, then unpack+modify the initrd.
2011-10-19 20:53:33 -04:00
Colin Walters
aa25334286 repo: Only open regular files
Otherwise we'll try to open device files with predictably bad
consequences.
2011-10-19 18:06:06 -04:00
Colin Walters
961b1c80db Do "bare" repositories by default
Mixing the repository and checkouts is discouraged.
2011-10-19 17:45:00 -04:00
Colin Walters
648f3ac717 ostree_switch_root: chdir() in chroot, and make various dirs readonly 2011-10-19 14:08:39 -04:00
Colin Walters
5098f1895c ostree_switch_root: New executable for use in initrd
Since Debian's initrd uses busybox which is super limited, let's
fork util-linux's switch_root and add more there.
2011-10-19 12:22:42 -04:00
Colin Walters
8d4b3f87e3 mountall.sh: Import from Debian initscripts 2.88dsf-13.11 2011-10-18 15:38:16 -04:00
Colin Walters
b27df6fd72 "Hacktree" is now known as "OSTree"
It just sounds better.
2011-10-18 14:44:48 -04:00
Javier Jardón
6114bc3b06 autogen.sh: Improve the script a bit
Fix builddir != sourcedir issues ans also run ./configure if
Its needed
2011-10-18 17:35:55 +01:00
Javier Jardón
e6f4fc6cbe Makefile.am: honor aclocal flags 2011-10-18 17:31:28 +01:00
Colin Walters
6475a51664 chroot_break: New utility
Inside the OS, some utilities and functions are going to need to
"break out" and be run from the real root.  This is a convenience
utility to do so.
2011-10-18 12:23:16 -04:00
Colin Walters
a5a1039c08 parallel-debian: A bit more 2011-10-17 16:17:37 -04:00
Colin Walters
a06f724b72 src: Only use local VFS - this avoids hitting up the session bus
We are designed to run in the "unix model" of being forked a lot, so
startup time matters a lot, and hitting the session bus adds
unnecessary DBus traffic, shows up in strace etc.

It's a microoptimization I admit.
2011-10-17 15:55:06 -04:00
Colin Walters
aaae116f8e README: Some notes on BTRFS 2011-10-17 11:08:25 -04:00
Colin Walters
8020f444cf Add documentation for parallel-debian 2011-10-17 09:40:12 -04:00
Colin Walters
d32dd476f7 README: Elaborate and clarify some more 2011-10-17 09:39:27 -04:00
Colin Walters
ec2b249c76 Some discussion about my experimentation with actually doing multiple roots 2011-10-16 15:51:36 -04:00
Colin Walters
c776c8730b TODO: Update 2011-10-16 14:41:03 -04:00
Colin Walters
25f06eb52c README.md: Some more notes about upgrading 2011-10-16 14:24:56 -04:00
Colin Walters
130e277c5d README.md: Some more thoughts 2011-10-16 14:18:20 -04:00
Colin Walters
d37d5b0c25 README.md: Some tweaks 2011-10-16 11:17:59 -04:00
Colin Walters
4c58d2f0cb Have an introductory README.md that makes sense
Skip the "how do we build" for now.
2011-10-15 16:46:33 -04:00
Colin Walters
97003b48da Add log builtin
The "less" spawning is buggy for some reason =(
2011-10-15 15:43:43 -04:00
Colin Walters
717945814c Save root directory permissions in commit 2011-10-15 14:20:22 -04:00
Colin Walters
c768c2a746 Support for committing files from stdin or a file list file 2011-10-15 13:07:26 -04:00
Colin Walters
36ba6e5426 Ensure we don't get duplicate '.' which leads to corruption
In path_split(), we squash '.' entirely, since it's redundant and if
we don't, we return an extra component which callers would then have
to handle.

In repo, ensure we're never explicitly parsing '.' either (yet).
2011-10-15 13:04:50 -04:00
Colin Walters
2bd973f645 Make file deletion work, add test 2011-10-15 09:56:31 -04:00
Colin Walters
05c35f2cf7 Actually checksum xattr values, not just names
We need to call lgetxattr() and not just llistxattr().
2011-10-15 03:03:51 -04:00