From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 26 Mar 2004 22:41:12 +0000 Subject: Re: [PATCH] udev - safer string handling - part three Message-Id: <20040326224112.GC857@vrfy.org> List-Id: References: <20040226003100.GA27025@vrfy.org> In-Reply-To: <20040226003100.GA27025@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.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_id70&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