* [PATCH 1/2] wic: add systemd-boot option in EFI boot image plugin
@ 2016-07-08 17:44 Jianxun Zhang
2016-07-08 17:44 ` [PATCH 2/2] wic: clone gummiboot wks for systemd-boot Jianxun Zhang
0 siblings, 1 reply; 7+ messages in thread
From: Jianxun Zhang @ 2016-07-08 17:44 UTC (permalink / raw)
To: openembedded-core
The new systemd-boot enabled in OE is the old gummiboot
merged into systemd project. Our intention is to replace
gummiboot with systemd-boot in OE once every feature based
on gummiboot is supported with systemd-boot.
Before we can purge gummiboot, we temporarily keep both of
the two bootloaders supported.
Patch doesn't do replacement for every "gummi" occurrence.
We think cleaning can be done in background after we disable
people to use gummiboot, so we just keep change small and
safe this time.
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
---
scripts/lib/wic/plugins/source/bootimg-efi.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py
index 3a16861..8bc3622 100644
--- a/scripts/lib/wic/plugins/source/bootimg-efi.py
+++ b/scripts/lib/wic/plugins/source/bootimg-efi.py
@@ -84,7 +84,7 @@ class BootimgEFIPlugin(SourcePlugin):
@classmethod
def do_configure_gummiboot(cls, hdddir, creator, cr_workdir):
"""
- Create loader-specific (gummiboot) config
+ Create loader-specific systemd-boot/gummiboot config
"""
install_cmd = "install -d %s/loader" % hdddir
exec_cmd(install_cmd)
@@ -149,7 +149,8 @@ class BootimgEFIPlugin(SourcePlugin):
try:
if source_params['loader'] == 'grub-efi':
cls.do_configure_grubefi(hdddir, creator, cr_workdir)
- elif source_params['loader'] == 'gummiboot':
+ elif source_params['loader'] == 'gummiboot' \
+ or source_params['loader'] == 'systemd-boot':
cls.do_configure_gummiboot(hdddir, creator, cr_workdir)
else:
msger.error("unrecognized bootimg-efi loader: %s" % source_params['loader'])
@@ -189,7 +190,8 @@ class BootimgEFIPlugin(SourcePlugin):
exec_cmd(cp_cmd, True)
shutil.move("%s/grub.cfg" % cr_workdir,
"%s/hdd/boot/EFI/BOOT/grub.cfg" % cr_workdir)
- elif source_params['loader'] == 'gummiboot':
+ elif source_params['loader'] == 'gummiboot' \
+ or source_params['loader'] == 'systemd-boot':
cp_cmd = "cp %s/EFI/BOOT/* %s/EFI/BOOT" % (bootimg_dir, hdddir)
exec_cmd(cp_cmd, True)
else:
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] wic: clone gummiboot wks for systemd-boot
2016-07-08 17:44 [PATCH 1/2] wic: add systemd-boot option in EFI boot image plugin Jianxun Zhang
@ 2016-07-08 17:44 ` Jianxun Zhang
2016-07-08 20:58 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Jianxun Zhang @ 2016-07-08 17:44 UTC (permalink / raw)
To: openembedded-core
This wks is just a copy of gummiboot wks with bootloader
changed to systemd-boot. A very basic boot test on a X86
target is done with a direct-boot image generated by:
wic create mksystemd-bootdisk -e core-image-minimal
Because we plan to replace gummiboot with systemd-boot at any
time in the future, we summarize history (as much as I can) of
the current gummiboot wks before it's gone:
-----------------------------------------------------------------
commit 7d4bb40905fab38fb3db1d0e17afbc803622f00c
Author: Ed Bartosh <ed.bartosh@linux.intel.com>
Date: Wed Sep 2 13:58:02 2015 +0300
wic: get rid of scripts/lib/image
Moved content of scripts/lib/image/ to scripts/lib/wic as
one directory with the same name as a tool is self-explanatory
and less confusing than two.
(From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 77561e719181d58289687373eebadce764f838a7
Author: Ed Bartosh <ed.bartosh@linux.intel.com>
Date: Wed Sep 2 13:58:01 2015 +0300
wic: use ext4 in canned .wks files
Latest kernel doesn't have ext3 compiled in. Wic images produced
from canned .wks can't boot because of that. Switching to ext4
fixes this issue.
(From OE-Core rev: d281a65a81f369fc8d75023b8f911ce4106969c1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 072657ce98414afdd6f68941847e21fc5ce496c7
Author: Tom Zanussi <tom.zanussi@linux.intel.com>
Date: Mon Aug 11 20:35:41 2014 -0500
wic: Add mkgummidisk kickstart file
This is the same as mkefidisk but uses gummiboot instead of grub-efi.
(From OE-Core rev: 5979409ebfab0bb07b3c2b2fcf14a722c441f07b)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-----------------------------------------------------------------
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
---
scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
diff --git a/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
new file mode 100644
index 0000000..df706e8
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
@@ -0,0 +1,11 @@
+# short-description: Create an EFI disk image
+# long-description: Creates a partitioned EFI disk image that the user
+# can directly dd to boot media.
+
+part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
+
+part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
+
+part swap --ondisk sda --size 44 --label swap1 --fstype=swap
+
+bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] wic: clone gummiboot wks for systemd-boot
2016-07-08 17:44 ` [PATCH 2/2] wic: clone gummiboot wks for systemd-boot Jianxun Zhang
@ 2016-07-08 20:58 ` Khem Raj
2016-07-11 17:03 ` Jianxun Zhang
0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2016-07-08 20:58 UTC (permalink / raw)
To: Jianxun Zhang; +Cc: Patches and discussions about the oe-core layer
On Fri, Jul 8, 2016 at 10:44 AM, Jianxun Zhang
<jianxun.zhang@linux.intel.com> wrote:
> This wks is just a copy of gummiboot wks with bootloader
> changed to systemd-boot. A very basic boot test on a X86
> target is done with a direct-boot image generated by:
>
> wic create mksystemd-bootdisk -e core-image-minimal
prefixing wks file with mk is that a nomenclature. if no then lets avoid it
>
> Because we plan to replace gummiboot with systemd-boot at any
> time in the future, we summarize history (as much as I can) of
> the current gummiboot wks before it's gone:
>
> -----------------------------------------------------------------
> commit 7d4bb40905fab38fb3db1d0e17afbc803622f00c
> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
> Date: Wed Sep 2 13:58:02 2015 +0300
>
> wic: get rid of scripts/lib/image
>
> Moved content of scripts/lib/image/ to scripts/lib/wic as
> one directory with the same name as a tool is self-explanatory
> and less confusing than two.
>
> (From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44)
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> commit 77561e719181d58289687373eebadce764f838a7
> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
> Date: Wed Sep 2 13:58:01 2015 +0300
>
> wic: use ext4 in canned .wks files
>
> Latest kernel doesn't have ext3 compiled in. Wic images produced
> from canned .wks can't boot because of that. Switching to ext4
> fixes this issue.
>
> (From OE-Core rev: d281a65a81f369fc8d75023b8f911ce4106969c1)
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> commit 072657ce98414afdd6f68941847e21fc5ce496c7
> Author: Tom Zanussi <tom.zanussi@linux.intel.com>
> Date: Mon Aug 11 20:35:41 2014 -0500
>
> wic: Add mkgummidisk kickstart file
>
> This is the same as mkefidisk but uses gummiboot instead of grub-efi.
>
> (From OE-Core rev: 5979409ebfab0bb07b3c2b2fcf14a722c441f07b)
>
> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> -----------------------------------------------------------------
>
> Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
> ---
> scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks | 11 +++++++++++
> 1 file changed, 11 insertions(+)
> create mode 100644 scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>
> diff --git a/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
> new file mode 100644
> index 0000000..df706e8
> --- /dev/null
> +++ b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
> @@ -0,0 +1,11 @@
> +# short-description: Create an EFI disk image
> +# long-description: Creates a partitioned EFI disk image that the user
> +# can directly dd to boot media.
> +
> +part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
> +
> +part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
> +
> +part swap --ondisk sda --size 44 --label swap1 --fstype=swap
> +
> +bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] wic: clone gummiboot wks for systemd-boot
2016-07-08 20:58 ` Khem Raj
@ 2016-07-11 17:03 ` Jianxun Zhang
2016-07-11 17:37 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Jianxun Zhang @ 2016-07-11 17:03 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
> On Jul 8, 2016, at 1:58 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Fri, Jul 8, 2016 at 10:44 AM, Jianxun Zhang
> <jianxun.zhang@linux.intel.com> wrote:
>> This wks is just a copy of gummiboot wks with bootloader
>> changed to systemd-boot. A very basic boot test on a X86
>> target is done with a direct-boot image generated by:
>>
>> wic create mksystemd-bootdisk -e core-image-minimal
>
> prefixing wks file with mk is that a nomenclature. if no then lets avoid it
Khem,
I thought following gummiboot wks naming is a safe call. :-)
I can change it to any new name suggested, just want to avoid any ambiguity for a V2:
Do you and others think “systemd-bootdisk” is a good name for new wks?
Thanks
>
>>
>> Because we plan to replace gummiboot with systemd-boot at any
>> time in the future, we summarize history (as much as I can) of
>> the current gummiboot wks before it's gone:
>>
>> -----------------------------------------------------------------
>> commit 7d4bb40905fab38fb3db1d0e17afbc803622f00c
>> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
>> Date: Wed Sep 2 13:58:02 2015 +0300
>>
>> wic: get rid of scripts/lib/image
>>
>> Moved content of scripts/lib/image/ to scripts/lib/wic as
>> one directory with the same name as a tool is self-explanatory
>> and less confusing than two.
>>
>> (From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44)
>>
>> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>
>> commit 77561e719181d58289687373eebadce764f838a7
>> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
>> Date: Wed Sep 2 13:58:01 2015 +0300
>>
>> wic: use ext4 in canned .wks files
>>
>> Latest kernel doesn't have ext3 compiled in. Wic images produced
>> from canned .wks can't boot because of that. Switching to ext4
>> fixes this issue.
>>
>> (From OE-Core rev: d281a65a81f369fc8d75023b8f911ce4106969c1)
>>
>> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>
>> commit 072657ce98414afdd6f68941847e21fc5ce496c7
>> Author: Tom Zanussi <tom.zanussi@linux.intel.com>
>> Date: Mon Aug 11 20:35:41 2014 -0500
>>
>> wic: Add mkgummidisk kickstart file
>>
>> This is the same as mkefidisk but uses gummiboot instead of grub-efi.
>>
>> (From OE-Core rev: 5979409ebfab0bb07b3c2b2fcf14a722c441f07b)
>>
>> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>> -----------------------------------------------------------------
>>
>> Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
>> ---
>> scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>> create mode 100644 scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>>
>> diff --git a/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>> new file mode 100644
>> index 0000000..df706e8
>> --- /dev/null
>> +++ b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>> @@ -0,0 +1,11 @@
>> +# short-description: Create an EFI disk image
>> +# long-description: Creates a partitioned EFI disk image that the user
>> +# can directly dd to boot media.
>> +
>> +part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
>> +
>> +part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
>> +
>> +part swap --ondisk sda --size 44 --label swap1 --fstype=swap
>> +
>> +bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] wic: clone gummiboot wks for systemd-boot
2016-07-11 17:03 ` Jianxun Zhang
@ 2016-07-11 17:37 ` Khem Raj
2016-07-25 18:40 ` Jianxun Zhang
0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2016-07-11 17:37 UTC (permalink / raw)
To: Jianxun Zhang; +Cc: Patches and discussions about the oe-core layer
On Mon, Jul 11, 2016 at 10:03 AM, Jianxun Zhang
<jianxun.zhang@linux.intel.com> wrote:
>
>> On Jul 8, 2016, at 1:58 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> On Fri, Jul 8, 2016 at 10:44 AM, Jianxun Zhang
>> <jianxun.zhang@linux.intel.com> wrote:
>>> This wks is just a copy of gummiboot wks with bootloader
>>> changed to systemd-boot. A very basic boot test on a X86
>>> target is done with a direct-boot image generated by:
>>>
>>> wic create mksystemd-bootdisk -e core-image-minimal
>>
>> prefixing wks file with mk is that a nomenclature. if no then lets avoid it
> Khem,
> I thought following gummiboot wks naming is a safe call. :-)
> I can change it to any new name suggested, just want to avoid any ambiguity for a V2:
> Do you and others think “systemd-bootdisk” is a good name for new wks?
>
yes looks better
> Thanks
>>
>>>
>>> Because we plan to replace gummiboot with systemd-boot at any
>>> time in the future, we summarize history (as much as I can) of
>>> the current gummiboot wks before it's gone:
>>>
>>> -----------------------------------------------------------------
>>> commit 7d4bb40905fab38fb3db1d0e17afbc803622f00c
>>> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
>>> Date: Wed Sep 2 13:58:02 2015 +0300
>>>
>>> wic: get rid of scripts/lib/image
>>>
>>> Moved content of scripts/lib/image/ to scripts/lib/wic as
>>> one directory with the same name as a tool is self-explanatory
>>> and less confusing than two.
>>>
>>> (From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44)
>>>
>>> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>>
>>> commit 77561e719181d58289687373eebadce764f838a7
>>> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
>>> Date: Wed Sep 2 13:58:01 2015 +0300
>>>
>>> wic: use ext4 in canned .wks files
>>>
>>> Latest kernel doesn't have ext3 compiled in. Wic images produced
>>> from canned .wks can't boot because of that. Switching to ext4
>>> fixes this issue.
>>>
>>> (From OE-Core rev: d281a65a81f369fc8d75023b8f911ce4106969c1)
>>>
>>> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>>
>>> commit 072657ce98414afdd6f68941847e21fc5ce496c7
>>> Author: Tom Zanussi <tom.zanussi@linux.intel.com>
>>> Date: Mon Aug 11 20:35:41 2014 -0500
>>>
>>> wic: Add mkgummidisk kickstart file
>>>
>>> This is the same as mkefidisk but uses gummiboot instead of grub-efi.
>>>
>>> (From OE-Core rev: 5979409ebfab0bb07b3c2b2fcf14a722c441f07b)
>>>
>>> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>> -----------------------------------------------------------------
>>>
>>> Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
>>> ---
>>> scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks | 11 +++++++++++
>>> 1 file changed, 11 insertions(+)
>>> create mode 100644 scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>>>
>>> diff --git a/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>>> new file mode 100644
>>> index 0000000..df706e8
>>> --- /dev/null
>>> +++ b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>>> @@ -0,0 +1,11 @@
>>> +# short-description: Create an EFI disk image
>>> +# long-description: Creates a partitioned EFI disk image that the user
>>> +# can directly dd to boot media.
>>> +
>>> +part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
>>> +
>>> +part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
>>> +
>>> +part swap --ondisk sda --size 44 --label swap1 --fstype=swap
>>> +
>>> +bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"
>>> --
>>> 2.7.4
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] wic: clone gummiboot wks for systemd-boot
2016-07-11 17:37 ` Khem Raj
@ 2016-07-25 18:40 ` Jianxun Zhang
2016-07-25 18:44 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Jianxun Zhang @ 2016-07-25 18:40 UTC (permalink / raw)
To: Khem Raj, Richard Purdie, Ross Burton
Cc: Patches and discussions about the oe-core layer
> On Jul 11, 2016, at 10:37 AM, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Mon, Jul 11, 2016 at 10:03 AM, Jianxun Zhang
> <jianxun.zhang@linux.intel.com> wrote:
>>
>>> On Jul 8, 2016, at 1:58 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>
>>> On Fri, Jul 8, 2016 at 10:44 AM, Jianxun Zhang
>>> <jianxun.zhang@linux.intel.com> wrote:
>>>> This wks is just a copy of gummiboot wks with bootloader
>>>> changed to systemd-boot. A very basic boot test on a X86
>>>> target is done with a direct-boot image generated by:
>>>>
>>>> wic create mksystemd-bootdisk -e core-image-minimal
>>>
>>> prefixing wks file with mk is that a nomenclature. if no then lets avoid it
>> Khem,
>> I thought following gummiboot wks naming is a safe call. :-)
>> I can change it to any new name suggested, just want to avoid any ambiguity for a V2:
>> Do you and others think “systemd-bootdisk” is a good name for new wks?
>>
>
> yes looks better
>
I have submitted V2 several days ago to address Khem’s suggestion to rename mksystemd-bootdisk.wks to systemd-boot.wks.
But today I found this V1 has been merged in OE master (4c9b1a4). I am not sure if it means maintainers made decision to prefer V1.
You could see both wks files for same thing once V2 gets merged too.
Worrying about a duplicate merge for V2, I will notice people in V2 thread.
Thanks
>
>> Thanks
>>>
>>>>
>>>> Because we plan to replace gummiboot with systemd-boot at any
>>>> time in the future, we summarize history (as much as I can) of
>>>> the current gummiboot wks before it's gone:
>>>>
>>>> -----------------------------------------------------------------
>>>> commit 7d4bb40905fab38fb3db1d0e17afbc803622f00c
>>>> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
>>>> Date: Wed Sep 2 13:58:02 2015 +0300
>>>>
>>>> wic: get rid of scripts/lib/image
>>>>
>>>> Moved content of scripts/lib/image/ to scripts/lib/wic as
>>>> one directory with the same name as a tool is self-explanatory
>>>> and less confusing than two.
>>>>
>>>> (From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44)
>>>>
>>>> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
>>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>>>
>>>> commit 77561e719181d58289687373eebadce764f838a7
>>>> Author: Ed Bartosh <ed.bartosh@linux.intel.com>
>>>> Date: Wed Sep 2 13:58:01 2015 +0300
>>>>
>>>> wic: use ext4 in canned .wks files
>>>>
>>>> Latest kernel doesn't have ext3 compiled in. Wic images produced
>>>> from canned .wks can't boot because of that. Switching to ext4
>>>> fixes this issue.
>>>>
>>>> (From OE-Core rev: d281a65a81f369fc8d75023b8f911ce4106969c1)
>>>>
>>>> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
>>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>>>
>>>> commit 072657ce98414afdd6f68941847e21fc5ce496c7
>>>> Author: Tom Zanussi <tom.zanussi@linux.intel.com>
>>>> Date: Mon Aug 11 20:35:41 2014 -0500
>>>>
>>>> wic: Add mkgummidisk kickstart file
>>>>
>>>> This is the same as mkefidisk but uses gummiboot instead of grub-efi.
>>>>
>>>> (From OE-Core rev: 5979409ebfab0bb07b3c2b2fcf14a722c441f07b)
>>>>
>>>> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
>>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>>> -----------------------------------------------------------------
>>>>
>>>> Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
>>>> ---
>>>> scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks | 11 +++++++++++
>>>> 1 file changed, 11 insertions(+)
>>>> create mode 100644 scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>>>>
>>>> diff --git a/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>>>> new file mode 100644
>>>> index 0000000..df706e8
>>>> --- /dev/null
>>>> +++ b/scripts/lib/wic/canned-wks/mksystemd-bootdisk.wks
>>>> @@ -0,0 +1,11 @@
>>>> +# short-description: Create an EFI disk image
>>>> +# long-description: Creates a partitioned EFI disk image that the user
>>>> +# can directly dd to boot media.
>>>> +
>>>> +part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
>>>> +
>>>> +part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
>>>> +
>>>> +part swap --ondisk sda --size 44 --label swap1 --fstype=swap
>>>> +
>>>> +bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"
>>>> --
>>>> 2.7.4
>>>>
>>>> --
>>>> _______________________________________________
>>>> Openembedded-core mailing list
>>>> Openembedded-core@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] wic: clone gummiboot wks for systemd-boot
2016-07-25 18:40 ` Jianxun Zhang
@ 2016-07-25 18:44 ` Khem Raj
0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2016-07-25 18:44 UTC (permalink / raw)
To: Jianxun Zhang; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1532 bytes --]
> On Jul 25, 2016, at 11:40 AM, Jianxun Zhang <jianxun.zhang@linux.intel.com> wrote:
>
>
>> On Jul 11, 2016, at 10:37 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> On Mon, Jul 11, 2016 at 10:03 AM, Jianxun Zhang
>> <jianxun.zhang@linux.intel.com> wrote:
>>>
>>>> On Jul 8, 2016, at 1:58 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>>
>>>> On Fri, Jul 8, 2016 at 10:44 AM, Jianxun Zhang
>>>> <jianxun.zhang@linux.intel.com> wrote:
>>>>> This wks is just a copy of gummiboot wks with bootloader
>>>>> changed to systemd-boot. A very basic boot test on a X86
>>>>> target is done with a direct-boot image generated by:
>>>>>
>>>>> wic create mksystemd-bootdisk -e core-image-minimal
>>>>
>>>> prefixing wks file with mk is that a nomenclature. if no then lets avoid it
>>> Khem,
>>> I thought following gummiboot wks naming is a safe call. :-)
>>> I can change it to any new name suggested, just want to avoid any ambiguity for a V2:
>>> Do you and others think “systemd-bootdisk” is a good name for new wks?
>>>
>>
>> yes looks better
>>
> I have submitted V2 several days ago to address Khem’s suggestion to rename mksystemd-bootdisk.wks to systemd-boot.wks.
>
> But today I found this V1 has been merged in OE master (4c9b1a4). I am not sure if it means maintainers made decision to prefer V1.
>
> You could see both wks files for same thing once V2 gets merged too.
>
> Worrying about a duplicate merge for V2, I will notice people in V2 thread.
send a v3 rebased over v1
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-07-25 18:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-08 17:44 [PATCH 1/2] wic: add systemd-boot option in EFI boot image plugin Jianxun Zhang
2016-07-08 17:44 ` [PATCH 2/2] wic: clone gummiboot wks for systemd-boot Jianxun Zhang
2016-07-08 20:58 ` Khem Raj
2016-07-11 17:03 ` Jianxun Zhang
2016-07-11 17:37 ` Khem Raj
2016-07-25 18:40 ` Jianxun Zhang
2016-07-25 18:44 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.