Re: Need help with converting growroot to a systemd service

2014-08-11 Thread Juerg Haefliger
On Mon, Aug 11, 20 > > [Unit] > > Description=Grow the root partition > > After=systemd-readahead-collect.service systemd-readahead-replay.service > > Before=systemd-fsck@.service sysroot.mount > > This will not work. "systemd-fsck@.service" is is not a unit name (but > just a template for unit nam

Re: Need help with converting growroot to a systemd service

2014-08-11 Thread Juerg Haefliger
On Mon, Aug 11, 2014 at 3:40 PM, Richard W.M. Jones wrote: > > On Mon, Aug 11, 2014 at 03:24:59PM +0200, Lennart Poettering wrote: > > On Mon, 11.08.14 12:59, Juerg Haefliger (jue...@gmail.com) wrote: > > > > > All, > > > > > > I want to convert t

Need help with converting growroot to a systemd service

2014-08-11 Thread Juerg Haefliger
All, I want to convert the growroot functionality to a proper systemd service but I'm struggling. I (think I) want it to run and finish before the filesystems are checked and before /sysroot is mounted. For testing purposes, I replaced the growroot script with a simple script that sleeps for 5 sec

Re: Renaming the cloud-utils package

2014-02-24 Thread Juerg Haefliger
On Thu, Feb 20, 2014 at 11:46 AM, Matthias Runge wrote: > > On Wed, Feb 19, 2014 at 06:18:30PM +0100, Juerg Haefliger wrote: > > Hi, > > > > I'm trying to figure out if it makes sense to rename the cloud-utils > > (sub-)package for EPEL7 and F21. > > &g

Renaming the cloud-utils package

2014-02-19 Thread Juerg Haefliger
Hi, I'm trying to figure out if it makes sense to rename the cloud-utils (sub-)package for EPEL7 and F21. Upstream (Ubuntu) used to have a single package named cloud-utils which we decided to split up into two packages, cloud-utils and cloud-utils-growpart. The reason being that cloud-utils pulls

Re: Announcing the release of Fedora 20.

2013-12-17 Thread Juerg Haefliger
> == First-Class Cloud Images == > > The Fedora Cloud SIG has been working hard to provide images that are > well-suited for running as guests in public and private clouds like Amazon > Web Services (AWS) and OpenStack. > > If you're using public or private cloud, you should grab one of the > do

Re: Automounting of the root partition in the initramfs

2013-10-17 Thread Juerg Haefliger
>> >> All, >> >> >> >> The (admittedly hacky) dracut-modules-growroot package installs a >> >> dracut script that runs in the pre-pivot stage. It unmounts the root >> >> partition, extends it to the maximum possible size and then tries to >> >> remount it. What I noticed in F20 is that as soon as t

Re: Automounting of the root partition in the initramfs

2013-10-16 Thread Juerg Haefliger
>> All, >> >> The (admittedly hacky) dracut-modules-growroot package installs a >> dracut script that runs in the pre-pivot stage. It unmounts the root >> partition, extends it to the maximum possible size and then tries to >> remount it. What I noticed in F20 is that as soon as the >> repartitioni

Re: Automounting of the root partition in the initramfs

2013-10-15 Thread Juerg Haefliger
> On 10/15/2013 02:47 PM, Juerg Haefliger wrote: >> All, >> >> The (admittedly hacky) dracut-modules-growroot package installs a >> dracut script that runs in the pre-pivot stage. It unmounts the root >> partition, extends it to the maximum possible size and th

Automounting of the root partition in the initramfs

2013-10-15 Thread Juerg Haefliger
All, The (admittedly hacky) dracut-modules-growroot package installs a dracut script that runs in the pre-pivot stage. It unmounts the root partition, extends it to the maximum possible size and then tries to remount it. What I noticed in F20 is that as soon as the repartitioning finishes (its an

Need help with packaging

2013-08-07 Thread Juerg Haefliger
All, I'm struggling with massaging the spec file of one of my packages to do what I need it to. I have this noarch package (cloud-utils, just a bunch of shell scripts) that I split up into a main package and a subpackage. The reason being that some scripts depend on qemu-img which is not available

Re: rpmbuild --buildarch equivalent?

2013-07-26 Thread Juerg Haefliger
>> Hi, >> >> A long time ago rpmbuild used to have an option --buildarch to >> override the arch detection. What is its equivalent nowadays? Sorry, >> couldn't figure it out so far. >> > > --target=x86_64 Hmm... That builds a package for x86_64 even if there is a 'ExcludeArch: x86_64' statement in

rpmbuild --buildarch equivalent?

2013-07-26 Thread Juerg Haefliger
Hi, A long time ago rpmbuild used to have an option --buildarch to override the arch detection. What is its equivalent nowadays? Sorry, couldn't figure it out so far. Thanks ...Juerg -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: qcow2 compression [was Re: F20 System Wide Change: Visible Cloud]

2013-07-15 Thread Juerg Haefliger
On Mon, Jul 15, 2013 at 6:04 PM, Matthew Miller wrote: > On Mon, Jul 15, 2013 at 01:21:27PM +0100, Richard W.M. Jones wrote: >> > Is the compressed image still seekable? If yes, that constrains the >> > window/block size and limits the gains from switching compressors. >> Dan's answer covered one

Re: Prevent package builds on certain architectures

2013-04-04 Thread Juerg Haefliger
> > > > > > > Hi, > > > > > > > > I have a noarch package that has a requirement on another package > > > > (qemu-img) that doesn't exist on i386 and ppc64. This results in > > > > 'broken dependency' errors from koji. How do I tell koji not to > > > > build on these arches? > > > > > > Is the prob

Re: Prevent package builds on certain architectures

2013-04-04 Thread Juerg Haefliger
On Thu, Apr 4, 2013 at 12:26 PM, Dan HorĂ¡k wrote: > On Thu, 4 Apr 2013 11:43:21 +0200 > Juerg Haefliger wrote: > > > Hi, > > > > I have a noarch package that has a requirement on another package > > (qemu-img) that doesn't exist on i386 and ppc64. This res

Prevent package builds on certain architectures

2013-04-04 Thread Juerg Haefliger
Hi, I have a noarch package that has a requirement on another package (qemu-img) that doesn't exist on i386 and ppc64. This results in 'broken dependency' errors from koji. How do I tell koji not to build on these arches? Thanks ...Juerg -- devel mailing list devel@lists.fedoraproject.org https:

Re: Self introduction

2013-01-22 Thread Juerg Haefliger
On Tue, Jan 22, 2013 at 8:33 AM, Dan Mashal wrote: > On Mon, Jan 21, 2013 at 11:12 PM, Juerg Haefliger wrote: >> Hi everyboy, >> >> My name is Juerg Haefliger and I'm a software engineer with >> Hewlett-Packard based in Switzerland. Part of my responsibilities is

Re: Need help with systemd service files

2012-02-28 Thread Juerg Haefliger
On Tue, Feb 28, 2012 at 12:02 PM, Michal Schmidt wrote: > On 02/26/2012 07:37 AM, Garrett Holmstrom wrote: >> >> On 2012-02-24 4:22, Juerg Haefliger wrote: >>> >>> So I installed the official Fedora version of cloud-init but the >>> service startup order

Re: Need help with systemd service files

2012-02-24 Thread Juerg Haefliger
2012/2/23 Michal Schmidt : > On 02/23/2012 03:35 PM, Juerg Haefliger wrote: >> >> All services have an [install] section, I just dropped them for this >> email. Forgot to pull in C.target where? Should D.service contain >> "After=rc-local.service C.target" then

Re: Need help with systemd service files

2012-02-23 Thread Juerg Haefliger
Hi Michal, > > Hello, > > > On 02/23/2012 01:34 PM, Juerg Haefliger wrote: >> >> Any of the services could fail but that shouldn't affect any of >> the other services. > > > From this you can deduce the answer to one of your questions. > You don&#

Need help with systemd service files

2012-02-23 Thread Juerg Haefliger
Hi, I want to create a package for Fedora 16 but I'm struggling with the systemd service/target files. I cannot get the various services to execute in the right order. I have 4 services (they're actually scripts that just execute and terminate) that need to run in the order described below. Any of