Mailinglist Archive: opensuse-buildservice (312 mails)
| < Previous | Next > |
[opensuse-buildservice] [PATCH] osc/build support for setting abuild UID:GID
- From: David Greaves <david@xxxxxxxxxxxx>
- Date: Fri, 31 Jul 2009 11:05:29 +0100
- Message-id: <4A72C1E9.3000904@xxxxxxxxxxxx>
When building locally in a qemu/chroot and debugging I find I want to edit the
files in the chroot from my desktop gui editor but they're all owned by 399:399.
This pair of patches allows me to set the uid:gid to match my local user and
eases this process.
usage is:
build --build-abuild-id uid:gid
or more usually:
osc build --build-abuild-id 500:500
osc also accepts (and extends the default) .oscrc settings:
build-abuild-id = 500:500
It only supports numeric ids.
David
Patch for build here:
http://gitorious.org/mer/build/commit/1955c634c9e4ac3078536f3959b04fcd53604222
Patch for osc here:
http://gitorious.org/mer/osc/commit/3e80d81b95510da9f795d0b5ff8d6731c77d6a7d
--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
files in the chroot from my desktop gui editor but they're all owned by 399:399.
This pair of patches allows me to set the uid:gid to match my local user and
eases this process.
usage is:
build --build-abuild-id uid:gid
or more usually:
osc build --build-abuild-id 500:500
osc also accepts (and extends the default) .oscrc settings:
build-abuild-id = 500:500
It only supports numeric ids.
David
Patch for build here:
http://gitorious.org/mer/build/commit/1955c634c9e4ac3078536f3959b04fcd53604222
Patch for osc here:
http://gitorious.org/mer/osc/commit/3e80d81b95510da9f795d0b5ff8d6731c77d6a7d
--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |