slugos-image: fix opkg-cl hanging on installing device tables
PATCH 1/1 slugos-image: fix opkg-cl hanging on installing device tables
opkg-cl was hanging during slugos image builds due to opkg-cl waiting for an answer for overwriting the device tables. adding " -force-defaults" to IPKG_ARGS allows the image to build
--- recipes/images/slugos-image.inc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/images/slugos-image.inc +2 -0
@@ -23,3 +23,5 @@ IMAGE_LINGUAS = "" IMAGE_PREPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/?Image*;" inherit image + +IPKG_ARGS += " -force-default"
Signature · 1 line
1.6.3.3
Quoted 13 lines · Henry von Tresckow
opkg-cl was hanging during slugos image builds due to opkg-cl waiting for an answer for overwriting the device tables. adding " -force-defaults" to
IPKG_ARGSallows the image to buildSigned-off-by Henry von Tresckow <[email protected]>--- recipes/images/slugos-image.inc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)recipes/images/slugos-image.inc +0
-0
recipes/images/slugos-image.inc IMAGE_LINGUAS = "" · line 27
Quoted 5 lines
recipes/images/slugos-image.inc +2
-0@@ -23,3 +23,5 @@ IMAGE_LINGUAS = "" IMAGE_PREPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/?Image*;" inherit image + +IPKG_ARGS += " -force-default"
hmm when I look at the sources of opkg in .dev I dont see -force-default option am I missing something.
-Khem
Quoted 26 lines · Khem Raj
Quoted 1 line · Henry von Tresckow
opkg-cl was hanging during slugos image builds due to opkg-cl waiting for
an answer for overwriting the device tables.
Review
Quoted 8 lines
adding " -force-defaults" to
IPKG_ARGSallows the image to buildSigned-off-by Henry von Tresckow <[email protected]>--- recipes/images/slugos-image.inc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)(quoted diff) +0
-0b/recipes/images/slugos-image.inc
recipes/images/slugos-image.inc IMAGE_LINGUAS = "" · line 27
Quoted 9 lines
index 6a4b7b9..809459c 100644
recipes/images/slugos-image.inc +2
-0@@ -23,3 +23,5 @@ IMAGE_LINGUAS = "" IMAGE_PREPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/?Image*;" inherit image + +IPKG_ARGS += " -force-default"hmm when I look at the sources of opkg in .dev I dont see -force-default option
am I missing something.
Quoted 1 line
-Khem
I think slugos still uses an older version of opkg:
slugos:
henry@FozzieBear:~/oe/slug/tmp/work/nslu2be-linux-gnueabi/slugos-image-1.0-r1/slugos-image-1.0$
opkg-cl --version
opkg version 0.1.6
angstrom:
henry@FozzieBear:~/oe/dev/tmp/work/poodle-angstrom-linux-gnueabi/console-image-1.0-r0/console-image-1.0$ opkg-cl --version
opkg version 0.1.8
Quoted 6 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Henry von Tresckow (hvontres)
Quoted 2 lines · Henry von Tresckow
opkg-cl was hanging during slugos image builds due to opkg-cl waiting for an answer for overwriting the device tables. adding " -force-defaults" to
IPKG_ARGSallows the image to build
This is fixing a symptom, not the real problem. I've just committed a SlugOS-specific fix that dodges this problem, so I don't recommend we apply this. Specifically, we *do* want to know if we're overwriting a config file while building the rootfs so that we can use a PREFERRED_PROVIDER or similar mechanism to select the correct one.
The root cause is the original commit a week or two ago that incorrectly changed the handling of the device_table file.
The "fix" I committed "backs out" one line of that bad commit in a SlugOS-specific recipe -- which isn't a fix, but at least it gets SlugOS building again, is no worse than things were originally, and it affects no other distros.
-Mike (mwester)
Quoted 16 lines
Signed-off-by Henry von Tresckow <[email protected]>--- recipes/images/slugos-image.inc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)recipes/images/slugos-image.inc +2
-0@@ -23,3 +23,5 @@ IMAGE_LINGUAS = "" IMAGE_PREPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/?Image*;" inherit image + +IPKG_ARGS += " -force-default"
Quoted 14 lines · Mike Westerhof
Quoted 1 line · Henry von Tresckow
opkg-cl was hanging during slugos image builds due to opkg-cl waiting for
an answer for overwriting the device tables.
Quoted 1 line
adding " -force-defaults" to
IPKG_ARGSallows the image to buildThis is fixing a symptom, not the real problem. I've just committed a SlugOS-specific fix that dodges this problem, so I don't recommend we apply this. Specifically, we *do* want to know if we're overwriting a config file while building the rootfs so that we can use a
PREFERRED_PROVIDERor similar mechanism to select the correct one.The root cause is the original commit a week or two ago that incorrectly changed the handling of the
device_tablefile.
Quoted 8 lines
The "fix" I committed "backs out" one line of that bad commit in a SlugOS-specific recipe -- which isn't a fix, but at least it gets SlugOS building again, is no worse than things were originally, and it affects no other distros.
-Mike (mwester)
Thanks for fixing this.
Signature · 1 line
Henry von Tresckow (hvontres)