mkefidisk.sh: add deprecation warning to the output
PATCH 1/1 mkefidisk.sh: add deprecation warning to the output
mkefidisk.sh will soon be deprecated in favor of .wic images.
Added deprecation warning to the script to inform users that this script will soon be removed from the codebase.
--- scripts/contrib/mkefidisk.sh | 5 +++++ 1 file changed, 5 insertions(+)
scripts/contrib/mkefidisk.sh +5 -0
@@ -20,6 +20,11 @@ LANG=C +echo +echo "WARNING: This script is deprecated and will be removed soon." +echo "Please consider using wic EFI images instead." +echo + # Set to 1 to enable additional output DEBUG=0 OUT="/dev/null"
Signature · 1 line
2.1.4
Quoted 21 lines · Ed Bartosh
mkefidisk.shwill soon be deprecated in favor of .wic images.Added deprecation warning to the script to inform users that this script will soon be removed from the codebase.
Signed-off-by Ed Bartosh <[email protected]>---
scripts/contrib/mkefidisk.sh| 5 +++++1 file changed, 5 insertions(+)scripts/contrib/mkefidisk.sh +0
-0@@ -20,6 +20,11 @@LANG=C
scripts/contrib/mkefidisk.sh line 27
Quoted 5 lines
scripts/contrib/mkefidisk.sh +5
-0+echo +echo "WARNING: This script is deprecated and will be removed soon." +echo "Please consider using wic EFI images instead." +echo +
is .wic image dd’able directly ?
We should also document, the wic steps in wiki pages e.g. http://wiki.minnowboard.org/Yocto_Project
Quoted 11 lines
# Set to 1 to enable additional output
DEBUG=0
OUT="/dev/null"
--
2.1.4--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 21 lines · Khem Raj
Quoted 1 line
On Oct 31, 2016, at 3:46 AM, Ed Bartosh <[email protected]>
Quoted 19 lines · wrote:
mkefidisk.shwill soon be deprecated in favor of .wic images.Added deprecation warning to the script to inform users that this script will soon be removed from the codebase.
Signed-off-by Ed Bartosh <[email protected]>---
scripts/contrib/mkefidisk.sh| 5 +++++1 file changed, 5 insertions(+)scripts/contrib/mkefidisk.sh +0
-0@@ -20,6 +20,11 @@LANG=C
Quoted 8 lines
scripts/contrib/mkefidisk.sh line 27
Quoted 5 lines
scripts/contrib/mkefidisk.sh +5
-0+echo +echo "WARNING: This script is deprecated and will be removed soon." +echo "Please consider using wic EFI images instead." +echo +is .wic image dd’able directly ?
Yes, that’s the point :) Though I prefer bmaptool w/ IMAGE_FSTYPES += “wic.bmap” personally, don’t have to rely on the file keeping its sparseness when scp’ing it around and whatnot.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Quoted 32 lines · Christopher Larson
Quoted 21 lines · Khem Raj
Quoted 1 line
On Oct 31, 2016, at 3:46 AM, Ed Bartosh <[email protected]>
Quoted 19 lines · wrote:
mkefidisk.shwill soon be deprecated in favor of .wic images.Added deprecation warning to the script to inform users that this script will soon be removed from the codebase.
Signed-off-by Ed Bartosh <[email protected]>---
scripts/contrib/mkefidisk.sh| 5 +++++1 file changed, 5 insertions(+)scripts/contrib/mkefidisk.sh +0
-0@@ -20,6 +20,11 @@LANG=C
Quoted 8 lines
scripts/contrib/mkefidisk.sh line 27
Quoted 5 lines
scripts/contrib/mkefidisk.sh +5
-0+echo +echo "WARNING: This script is deprecated and will be removed soon." +echo "Please consider using wic EFI images instead." +echo +is .wic image dd’able directly ?
Quoted 3 lines
Yes, that’s the point :) Though I prefer bmaptool w/
IMAGE_FSTYPES+= “wic.bmap” personally, don’t have to rely on the file keeping its sparseness when scp’ing it around and whatnot.
Recommending bmaptool as a preferred way of flashing is in the plans :)
--
Regards,
Ed
Quoted 21 lines · Khem Raj
Quoted 21 lines · Ed Bartosh
mkefidisk.shwill soon be deprecated in favor of .wic images.Added deprecation warning to the script to inform users that this script will soon be removed from the codebase.
Signed-off-by Ed Bartosh <[email protected]>---
scripts/contrib/mkefidisk.sh| 5 +++++1 file changed, 5 insertions(+)scripts/contrib/mkefidisk.sh +0
-0@@ -20,6 +20,11 @@LANG=C
Quoted 7 lines
scripts/contrib/mkefidisk.sh line 27
Quoted 5 lines
scripts/contrib/mkefidisk.sh +5
-0+echo +echo "WARNING: This script is deprecated and will be removed soon." +echo "Please consider using wic EFI images instead." +echo +is .wic image dd’able directly ?
Yes, they are.
Quoted 1 line
We should also document, the wic steps in wiki pages e.g. http://wiki.minnowboard.org/Yocto_Project
It's already documented in README.hardware: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/README.hardware
And in Yocto manual:
http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#building-an-image-for-hardware
--
Regards,
Ed
Quoted 29 lines · Ed Bartosh
Quoted 21 lines · Khem Raj
Quoted 21 lines · Ed Bartosh
mkefidisk.shwill soon be deprecated in favor of .wic images.Added deprecation warning to the script to inform users that this script will soon be removed from the codebase.
Signed-off-by Ed Bartosh <[email protected]>---
scripts/contrib/mkefidisk.sh| 5 +++++1 file changed, 5 insertions(+)scripts/contrib/mkefidisk.sh +0
-0@@ -20,6 +20,11 @@LANG=C
Quoted 7 lines
scripts/contrib/mkefidisk.sh line 27
Quoted 5 lines
scripts/contrib/mkefidisk.sh +5
-0+echo +echo "WARNING: This script is deprecated and will be removed soon." +echo "Please consider using wic EFI images instead." +echo +is .wic image dd’able directly ?
Quoted 7 lines
Yes, they are.
Quoted 1 line
We should also document, the wic steps in wiki pages e.g. http://wiki.minnowboard.org/Yocto_Project
It's already documented in README.hardware: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/README.hardware
And in Yocto manual:
http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#building-an-image-for-hardware
Thanks, now can you also nudge the minnowboard.org to do the same ?
Quoted 5 lines
--
Regards,
Ed
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
We should also document, the wic steps in wiki pages e.g. http://wiki.minnowboard.org/Yocto_Project
It's already documented in README.hardware: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/README.hardware
And in Yocto manual:
http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#building-an-image-for-hardwareThanks, now can you also nudge the minnowboard.org to do the same ?
Pinging you John. :)
Quoted 5 lines
Quoted 5 lines
--
Regards,
Ed
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · John Hawley
Quoted 12 lines · Randy Witt
Quoted 11 lines
Quoted 8 lines
Quoted 2 lines
We should also document, the wic steps in wiki pages e.g.
http://wiki.minnowboard.org/Yocto_ProjectIt's already documented in README.hardware:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/README.hardwareAnd in Yocto manual:
http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#building-an-image-for-hardwareThanks, now can you also nudge the minnowboard.org to do the same ?
Quoted 6 lines
Quoted 1 line
Pinging you John. :)
So two obvious questions in reading the documentation off the YP site:
1) Does WIC actually handle the EFI partition for booting off of UEFI systems? (guessing yes, but wanted to double check)
Yes, it does.
Quoted 4 lines
2) I assume it only creates MBR based images, seeing as the suggestion is to DD the image down, how does GPT based images work since you can't (exactly) DD a GPT image down and have it work "correctly"?
Please, elaborate on "correctly". Do you mean that kernel will complain that backup GPT header is not at the end of disk? This is not handled by wic obviously. However, even without this image is bootable and functional.
Quoted 2 lines
Sorry, I'm sure that's covered somewhere else, just want to double check this will be ok before I update the documentation on MB
--
Regards,
Ed