* Re: [oe-commits] MiLo : util-linux: Add package for libmount [not found] <20130228231551.3998F5022B@opal> @ 2013-03-06 6:23 ` Martin Jansa 2013-03-06 8:08 ` Mike Looijmans 0 siblings, 1 reply; 7+ messages in thread From: Martin Jansa @ 2013-03-06 6:23 UTC (permalink / raw) To: openembedded-core, MiLo; +Cc: openembedded-commits [-- Attachment #1: Type: text/plain, Size: 3827 bytes --] On Thu, Feb 28, 2013 at 11:15:51PM +0000, git@git.openembedded.org wrote: > Module: openembedded-core.git > Branch: master > Commit: 2e79110e31da940728d42411cad3d019d570fc31 > URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2e79110e31da940728d42411cad3d019d570fc31 > > Author: MiLo <milo-software@users.sourceforge.net> > Date: Tue Feb 19 18:23:15 2013 +0100 > > util-linux: Add package for libmount > > The libmount shared library was part of util-linux. This caused > util-linux-mount to RDEPEND on util-linux, so including that would > also drag in all of util-linux and all its recommendations. > > To break this circular dependency, add a libmount package that holds > the libmount.so.* files, just like the other libraries built by util- > linux. Breaks upgrade path: * check_data_file_clashes: Package libmount1 wants to install file * /lib/libmount.so.1.1.0 But that file is already provided by package * util-linux * check_data_file_clashes: Package libmount1 wants to install file * /lib/libmount.so.1 But that file is already provided by package * util-linux RREPLACES is probably needed. > > Signed-off-by: MiLo <milo-software@users.sourceforge.net> > Signed-off-by: Saul Wold <sgw@linux.intel.com> > > --- > > meta/recipes-core/util-linux/util-linux.inc | 3 +++ > meta/recipes-core/util-linux/util-linux_2.22.2.bb | 2 +- > 2 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc > index 10439c0..bd7b089 100644 > --- a/meta/recipes-core/util-linux/util-linux.inc > +++ b/meta/recipes-core/util-linux/util-linux.inc > @@ -31,6 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin > PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ > util-linux-swaponoff util-linux-losetup util-linux-umount \ > util-linux-mount util-linux-readprofile util-linux-libblkid \ > + util-linux-libmount util-linux-libmount-dev \ > util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \ > util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \ > util-linux-mkfs util-linux-mcookie util-linux-reset" > @@ -64,6 +65,8 @@ FILES_util-linux-reset = "${base_bindir}/reset" > > FILES_util-linux-libblkid = "${base_libdir}/libblkid.so.*" > FILES_util-linux-libblkid-dev = "${base_libdir}/libblkid.so ${base_libdir}/libblkid.la ${includedir}/blkid ${libdir}/pkgconfig/blkid.pc" > +FILES_util-linux-libmount = "${base_libdir}/libmount.so.*" > +FILES_util-linux-libmount-dev = "${base_libdir}/libmount.so ${base_libdir}/libmount.la ${includedir}/libmount ${libdir}/pkgconfig/mount.pc" > FILES_util-linux-libuuid = "${base_libdir}/libuuid.so.*" > FILES_util-linux-libuuid-dev = "${base_libdir}/libuuid.so ${base_libdir}/libuuid.la ${includedir}/uuid ${libdir}/pkgconfig/uuid.pc" > FILES_util-linux-lscpu = "${bindir}/lscpu" > diff --git a/meta/recipes-core/util-linux/util-linux_2.22.2.bb b/meta/recipes-core/util-linux/util-linux_2.22.2.bb > index dd95573..f91784b 100644 > --- a/meta/recipes-core/util-linux/util-linux_2.22.2.bb > +++ b/meta/recipes-core/util-linux/util-linux_2.22.2.bb > @@ -1,5 +1,5 @@ > MAJOR_VERSION = "2.22" > -PR = "r0" > +PR = "r1" > require util-linux.inc > > # note that `lscpu' is under GPLv3+ > > > _______________________________________________ > Openembedded-commits mailing list > Openembedded-commits@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe-commits] MiLo : util-linux: Add package for libmount 2013-03-06 6:23 ` [oe-commits] MiLo : util-linux: Add package for libmount Martin Jansa @ 2013-03-06 8:08 ` Mike Looijmans 2013-03-19 14:45 ` Busybox mdev INITSCRIPT_PARAMS gets lost Mike Looijmans 2013-03-22 11:37 ` [oe-commits] MiLo : util-linux: Add package for libmount Martin Jansa 0 siblings, 2 replies; 7+ messages in thread From: Mike Looijmans @ 2013-03-06 8:08 UTC (permalink / raw) To: openembedded-core On 03/06/2013 07:23 AM, Martin Jansa wrote: > On Thu, Feb 28, 2013 at 11:15:51PM +0000, git@git.openembedded.org wrote: >> Module: openembedded-core.git >> Branch: master >> Commit: 2e79110e31da940728d42411cad3d019d570fc31 >> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2e79110e31da940728d42411cad3d019d570fc31 >> >> Author: MiLo <milo-software@users.sourceforge.net> >> Date: Tue Feb 19 18:23:15 2013 +0100 >> >> util-linux: Add package for libmount >> >> The libmount shared library was part of util-linux. This caused >> util-linux-mount to RDEPEND on util-linux, so including that would >> also drag in all of util-linux and all its recommendations. >> >> To break this circular dependency, add a libmount package that holds >> the libmount.so.* files, just like the other libraries built by util- >> linux. > > Breaks upgrade path: > > * check_data_file_clashes: Package libmount1 wants to install file > * /lib/libmount.so.1.1.0 > But that file is already provided by package * util-linux > * check_data_file_clashes: Package libmount1 wants to install file > * /lib/libmount.so.1 > But that file is already provided by package * util-linux > > RREPLACES is probably needed. Indeed, I can reproduce that too. But I'm not sure how to fix this, as I cannot bluntly claim that libmount replaces util-linux, because it really doesn't. So RREPLACES_util-linux-libmount = "util-linux" is probably not the way to go here. Or is it? It does not "feel" right anyway, because the old situation should have never happened. Prior to the libmount patch, it was not possible to remove util-linux from any system that installed util-linux-mount (or any other that requires libmount), without applying "force". And util-linux itself depends on packages that in turn depend on util-linux. That's the circle I wanted to break out of. How does one properly inform opkg that a file has moved from one (installed) package to another? >> >> Signed-off-by: MiLo <milo-software@users.sourceforge.net> >> Signed-off-by: Saul Wold <sgw@linux.intel.com> >> >> --- >> >> meta/recipes-core/util-linux/util-linux.inc | 3 +++ >> meta/recipes-core/util-linux/util-linux_2.22.2.bb | 2 +- >> 2 files changed, 4 insertions(+), 1 deletions(-) >> >> diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc >> index 10439c0..bd7b089 100644 >> --- a/meta/recipes-core/util-linux/util-linux.inc >> +++ b/meta/recipes-core/util-linux/util-linux.inc >> @@ -31,6 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin >> PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ >> util-linux-swaponoff util-linux-losetup util-linux-umount \ >> util-linux-mount util-linux-readprofile util-linux-libblkid \ >> + util-linux-libmount util-linux-libmount-dev \ >> util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \ >> util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \ >> util-linux-mkfs util-linux-mcookie util-linux-reset" >> @@ -64,6 +65,8 @@ FILES_util-linux-reset = "${base_bindir}/reset" >> >> FILES_util-linux-libblkid = "${base_libdir}/libblkid.so.*" >> FILES_util-linux-libblkid-dev = "${base_libdir}/libblkid.so ${base_libdir}/libblkid.la ${includedir}/blkid ${libdir}/pkgconfig/blkid.pc" >> +FILES_util-linux-libmount = "${base_libdir}/libmount.so.*" >> +FILES_util-linux-libmount-dev = "${base_libdir}/libmount.so ${base_libdir}/libmount.la ${includedir}/libmount ${libdir}/pkgconfig/mount.pc" >> FILES_util-linux-libuuid = "${base_libdir}/libuuid.so.*" >> FILES_util-linux-libuuid-dev = "${base_libdir}/libuuid.so ${base_libdir}/libuuid.la ${includedir}/uuid ${libdir}/pkgconfig/uuid.pc" >> FILES_util-linux-lscpu = "${bindir}/lscpu" >> diff --git a/meta/recipes-core/util-linux/util-linux_2.22.2.bb b/meta/recipes-core/util-linux/util-linux_2.22.2.bb >> index dd95573..f91784b 100644 >> --- a/meta/recipes-core/util-linux/util-linux_2.22.2.bb >> +++ b/meta/recipes-core/util-linux/util-linux_2.22.2.bb >> @@ -1,5 +1,5 @@ >> MAJOR_VERSION = "2.22" >> -PR = "r0" >> +PR = "r1" >> require util-linux.inc >> >> # note that `lscpu' is under GPLv3+ >> >> >> _______________________________________________ >> Openembedded-commits mailing list >> Openembedded-commits@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits > -- Mike Looijmans - Topic Automation ^ permalink raw reply [flat|nested] 7+ messages in thread
* Busybox mdev INITSCRIPT_PARAMS gets lost 2013-03-06 8:08 ` Mike Looijmans @ 2013-03-19 14:45 ` Mike Looijmans 2013-04-10 10:07 ` Burton, Ross 2013-03-22 11:37 ` [oe-commits] MiLo : util-linux: Add package for libmount Martin Jansa 1 sibling, 1 reply; 7+ messages in thread From: Mike Looijmans @ 2013-03-19 14:45 UTC (permalink / raw) To: openembedded-core In busybox.inc, the recipe says: INITSCRIPT_PARAMS_${PN}-mdev = "start 06 S ." Actually "06" is alreay wrong, it should be "03" just like udev uses. The modules load at runlevel 04, so they'll fail to load correctly if they require firmware, soI amended this in a .bbappend to read INITSCRIPT_PARAMS_${PN}-mdev = "start 03 S ." But what ends up in the postinstall script is this (and that breaks the system): update-rc.d $OPT mdev defaults This used to work just fine about a month ago, but it's suddenly broken. Has something changed in update-rc handling? Mike. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Busybox mdev INITSCRIPT_PARAMS gets lost 2013-03-19 14:45 ` Busybox mdev INITSCRIPT_PARAMS gets lost Mike Looijmans @ 2013-04-10 10:07 ` Burton, Ross 2013-04-10 10:24 ` Burton, Ross 0 siblings, 1 reply; 7+ messages in thread From: Burton, Ross @ 2013-04-10 10:07 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core On 19 March 2013 14:45, Mike Looijmans <mike.looijmans@topic.nl> wrote: > In busybox.inc, the recipe says: > > INITSCRIPT_PARAMS_${PN}-mdev = "start 06 S ." > > Actually "06" is alreay wrong, it should be "03" just like udev uses. The > modules load at runlevel 04, so they'll fail to load correctly if they > require firmware, soI amended this in a .bbappend to read > > INITSCRIPT_PARAMS_${PN}-mdev = "start 03 S ." > > > But what ends up in the postinstall script is this (and that breaks the > system): > > update-rc.d $OPT mdev defaults > > This used to work just fine about a month ago, but it's suddenly broken. Has > something changed in update-rc handling? Did you resolve this? We just noticed the same thing is happening to udev too. I'm digging into it now but any leads (or a fix!) would be appreciated. Ross ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Busybox mdev INITSCRIPT_PARAMS gets lost 2013-04-10 10:07 ` Burton, Ross @ 2013-04-10 10:24 ` Burton, Ross 2013-04-10 10:58 ` Mike Looijmans 0 siblings, 1 reply; 7+ messages in thread From: Burton, Ross @ 2013-04-10 10:24 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core Hi Mike, On 10 April 2013 11:07, Burton, Ross <ross.burton@intel.com> wrote: >> This used to work just fine about a month ago, but it's suddenly broken. Has >> something changed in update-rc handling? > > Did you resolve this? We just noticed the same thing is happening to > udev too. I'm digging into it now but any leads (or a fix!) would be > appreciated. My patch "update-rc.d: correctly look up the initscript params with overrides" fixes this for udev, and presumably mdev too. Ross ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Busybox mdev INITSCRIPT_PARAMS gets lost 2013-04-10 10:24 ` Burton, Ross @ 2013-04-10 10:58 ` Mike Looijmans 0 siblings, 0 replies; 7+ messages in thread From: Mike Looijmans @ 2013-04-10 10:58 UTC (permalink / raw) To: Burton, Ross; +Cc: openembedded-core On 04/10/2013 12:24 PM, Burton, Ross wrote: > Hi Mike, > > On 10 April 2013 11:07, Burton, Ross <ross.burton@intel.com> wrote: >>> This used to work just fine about a month ago, but it's suddenly broken. Has >>> something changed in update-rc handling? >> >> Did you resolve this? We just noticed the same thing is happening to >> udev too. I'm digging into it now but any leads (or a fix!) would be >> appreciated. Never found the cause, both work and home situations kept me from investigating further. > My patch "update-rc.d: correctly look up the initscript params with > overrides" fixes this for udev, and presumably mdev too. Looks like a good catch. I will still post a patch for mdev starting too late (it should start at 03 just like udev does) when I find the time to spend a little time on it (either at work or as a hobby...) Mike. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe-commits] MiLo : util-linux: Add package for libmount 2013-03-06 8:08 ` Mike Looijmans 2013-03-19 14:45 ` Busybox mdev INITSCRIPT_PARAMS gets lost Mike Looijmans @ 2013-03-22 11:37 ` Martin Jansa 1 sibling, 0 replies; 7+ messages in thread From: Martin Jansa @ 2013-03-22 11:37 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 5479 bytes --] On Wed, Mar 06, 2013 at 09:08:30AM +0100, Mike Looijmans wrote: > On 03/06/2013 07:23 AM, Martin Jansa wrote: > > On Thu, Feb 28, 2013 at 11:15:51PM +0000, git@git.openembedded.org wrote: > >> Module: openembedded-core.git > >> Branch: master > >> Commit: 2e79110e31da940728d42411cad3d019d570fc31 > >> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2e79110e31da940728d42411cad3d019d570fc31 > >> > >> Author: MiLo <milo-software@users.sourceforge.net> > >> Date: Tue Feb 19 18:23:15 2013 +0100 > >> > >> util-linux: Add package for libmount > >> > >> The libmount shared library was part of util-linux. This caused > >> util-linux-mount to RDEPEND on util-linux, so including that would > >> also drag in all of util-linux and all its recommendations. > >> > >> To break this circular dependency, add a libmount package that holds > >> the libmount.so.* files, just like the other libraries built by util- > >> linux. > > > > Breaks upgrade path: > > > > * check_data_file_clashes: Package libmount1 wants to install file > > * /lib/libmount.so.1.1.0 > > But that file is already provided by package * util-linux > > * check_data_file_clashes: Package libmount1 wants to install file > > * /lib/libmount.so.1 > > But that file is already provided by package * util-linux > > > > RREPLACES is probably needed. > > Indeed, I can reproduce that too. But I'm not sure how to fix this, as I > cannot bluntly claim that libmount replaces util-linux, because it > really doesn't. So RREPLACES_util-linux-libmount = "util-linux" is > probably not the way to go here. Or is it? It does not "feel" right > anyway, because the old situation should have never happened. It should work (it doesn't replace util-linux completely until it also RPROVIDES it and opkg wont try to remove util-linux until it also RCONFLICTS with ti). But to be sure test it on device as with every other change. > Prior to the libmount patch, it was not possible to remove util-linux > from any system that installed util-linux-mount (or any other that > requires libmount), without applying "force". And util-linux itself > depends on packages that in turn depend on util-linux. That's the circle > I wanted to break out of. > > How does one properly inform opkg that a file has moved from one > (installed) package to another? RREPLACES > >> Signed-off-by: MiLo <milo-software@users.sourceforge.net> > >> Signed-off-by: Saul Wold <sgw@linux.intel.com> > >> > >> --- > >> > >> meta/recipes-core/util-linux/util-linux.inc | 3 +++ > >> meta/recipes-core/util-linux/util-linux_2.22.2.bb | 2 +- > >> 2 files changed, 4 insertions(+), 1 deletions(-) > >> > >> diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc > >> index 10439c0..bd7b089 100644 > >> --- a/meta/recipes-core/util-linux/util-linux.inc > >> +++ b/meta/recipes-core/util-linux/util-linux.inc > >> @@ -31,6 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin > >> PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ > >> util-linux-swaponoff util-linux-losetup util-linux-umount \ > >> util-linux-mount util-linux-readprofile util-linux-libblkid \ > >> + util-linux-libmount util-linux-libmount-dev \ > >> util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \ > >> util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \ > >> util-linux-mkfs util-linux-mcookie util-linux-reset" > >> @@ -64,6 +65,8 @@ FILES_util-linux-reset = "${base_bindir}/reset" > >> > >> FILES_util-linux-libblkid = "${base_libdir}/libblkid.so.*" > >> FILES_util-linux-libblkid-dev = "${base_libdir}/libblkid.so ${base_libdir}/libblkid.la ${includedir}/blkid ${libdir}/pkgconfig/blkid.pc" > >> +FILES_util-linux-libmount = "${base_libdir}/libmount.so.*" > >> +FILES_util-linux-libmount-dev = "${base_libdir}/libmount.so ${base_libdir}/libmount.la ${includedir}/libmount ${libdir}/pkgconfig/mount.pc" > >> FILES_util-linux-libuuid = "${base_libdir}/libuuid.so.*" > >> FILES_util-linux-libuuid-dev = "${base_libdir}/libuuid.so ${base_libdir}/libuuid.la ${includedir}/uuid ${libdir}/pkgconfig/uuid.pc" > >> FILES_util-linux-lscpu = "${bindir}/lscpu" > >> diff --git a/meta/recipes-core/util-linux/util-linux_2.22.2.bb b/meta/recipes-core/util-linux/util-linux_2.22.2.bb > >> index dd95573..f91784b 100644 > >> --- a/meta/recipes-core/util-linux/util-linux_2.22.2.bb > >> +++ b/meta/recipes-core/util-linux/util-linux_2.22.2.bb > >> @@ -1,5 +1,5 @@ > >> MAJOR_VERSION = "2.22" > >> -PR = "r0" > >> +PR = "r1" > >> require util-linux.inc > >> > >> # note that `lscpu' is under GPLv3+ > >> > >> > >> _______________________________________________ > >> Openembedded-commits mailing list > >> Openembedded-commits@lists.openembedded.org > >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits > > > > > -- > Mike Looijmans - Topic Automation > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-04-10 11:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20130228231551.3998F5022B@opal>
2013-03-06 6:23 ` [oe-commits] MiLo : util-linux: Add package for libmount Martin Jansa
2013-03-06 8:08 ` Mike Looijmans
2013-03-19 14:45 ` Busybox mdev INITSCRIPT_PARAMS gets lost Mike Looijmans
2013-04-10 10:07 ` Burton, Ross
2013-04-10 10:24 ` Burton, Ross
2013-04-10 10:58 ` Mike Looijmans
2013-03-22 11:37 ` [oe-commits] MiLo : util-linux: Add package for libmount Martin Jansa
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox