From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] udev - safer string handling - part three
Date: Fri, 26 Mar 2004 22:41:12 +0000 [thread overview]
Message-ID: <20040326224112.GC857@vrfy.org> (raw)
In-Reply-To: <20040226003100.GA27025@vrfy.org>
On Thu, Mar 18, 2004 at 04:01:28PM +0100, Harald Hoyer wrote:
> Kay Sievers wrote:
> >On Thu, 2004-03-18 at 15:24, Harald Hoyer wrote:
> >
> >>Kay Sievers wrote:
> >>
> >>>udevd needs to be killed after installation, cause the message size
> >>>is changed with this patch.
> >>>Should we do this with the 'make install', like we do with the '.udevdb'?
> >>
> >>Not a good idea in build systems!
> >
> >
> >Oh, I like this style of posts :)
> >It's not killed, if you install it with a DESTDIR.
> >
> >thanks,
> >Kay
> >
>
> well, well... take care ...
> %makeinstall
> on RedHat/Fedora rpmbuild does not use DESTDIR, though I wish it would...
>
>
> /usr/lib/rpm/redhat/macros:
> %makeinstall \
> make \\\
> prefix=%{?buildroot:%{buildroot}}%{_prefix} \\\
> exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \\\
> bindir=%{?buildroot:%{buildroot}}%{_bindir} \\\
> sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \\\
> sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \\\
> datadir=%{?buildroot:%{buildroot}}%{_datadir} \\\
> includedir=%{?buildroot:%{buildroot}}%{_includedir} \\\
> libdir=%{?buildroot:%{buildroot}}%{_libdir} \\\
> libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \\\
> localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \\\
> sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \\\
> mandir=%{?buildroot:%{buildroot}}%{_mandir} \\\
> infodir=%{?buildroot:%{buildroot}}%{_infodir} \\\
> install
Is there something changed in the meantime?
I get the following on FC2 and it doesn't kill udevd while building:
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.28298
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd udev-023
+ make DESTDIR=/var/tmp/udev-023-1-root install 'EXTRAS extras/scsi_id '
sed -e "s:@udevdir@:/udev:" < etc/udev/udev.conf.in > etc/udev/udev.conf
/usr/bin/install -c -d /var/tmp/udev-023-1-root/etc/udev/
thanks,
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2004-03-26 22:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-26 0:31 [PATCH] udev - safer string handling - part two Kay Sievers
2004-02-26 2:22 ` [PATCH] udev - safer string handling - part three Kay Sievers
2004-02-26 4:26 ` [PATCH] udev - safer string handling - part four Kay Sievers
2004-02-26 20:56 ` [PATCH] udev - safer string handling - part two Greg KH
2004-02-26 20:56 ` [PATCH] udev - safer string handling - part three Greg KH
2004-02-26 20:57 ` [PATCH] udev - safer string handling - part four Greg KH
2004-02-26 22:42 ` Kay Sievers
2004-03-18 14:24 ` [PATCH] udev - safer string handling - part three Harald Hoyer
2004-03-18 14:39 ` Kay Sievers
2004-03-18 15:01 ` Harald Hoyer
2004-03-26 22:41 ` Kay Sievers [this message]
2004-03-29 8:09 ` Harald Hoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040326224112.GC857@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).