Mailinglist Archive: opensuse-packaging (46 mails)

< Previous Next >
Re: [opensuse-packaging] Spec file advice requested
  • From: Archie Cobbs <archie@xxxxxxxxxxxx>
  • Date: Tue, 12 Feb 2013 13:19:11 -0600
  • Message-id: <CANSoFxvHs-Xxy7=LSMMVeye5Wq2iornqWK+HQmrsyX+fVinPKg@mail.gmail.com>
On Tue, Feb 12, 2013 at 11:00 AM, Michal Vyskocil <mvyskocil@xxxxxxx> wrote:
This means that a 'fonehome' user must exist and must have a
${HOME}/.ssh/authorized_keys file.

I originally put the home directory under /usr/share but perhaps there
is a better location.

I'd say the best one is /var/lib/fonehome/ - so just call

useradd ... -d /var/lib/fonehome fonehome in your %post.

See osc less openSUSE:Factory ntp ntp.spec as an example.

Thanks for that example. I'll change to /var/lib/fonehome and resubmit
with the other cleanups.

-Archie

--
Archie L. Cobbs
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >