[arch-releng] [PATCH 1/1] concatenate initramfs images for early microcode update

Thomas Bächler thomas at archlinux.org
Wed Oct 29 18:09:12 UTC 2014


Am 29.10.2014 um 15:35 schrieb Gerardo Exequiel Pozzi:
> On 10/29/2014 11:02 AM, list at eworm.de wrote:
>> From: Christian Hesse <mail at eworm.de>
>>
>> https://www.kernel.org/doc/Documentation/x86/early-microcode.txt
>> ---
>>  configs/releng/build.sh | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/configs/releng/build.sh b/configs/releng/build.sh
>> index 07ff911..8b6beee 100755
>> --- a/configs/releng/build.sh
>> +++ b/configs/releng/build.sh
>> @@ -90,7 +90,7 @@ make_customize_airootfs() {
>>  # Prepare kernel/initramfs ${install_dir}/boot/
>>  make_boot() {
>>      mkdir -p ${work_dir}/iso/${install_dir}/boot/${arch}
>> -    cp ${work_dir}/${arch}/airootfs/boot/archiso.img ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img
>> +    cat ${work_dir}/${arch}/airootfs/boot/intel-ucode.img ${work_dir}/${arch}/airootfs/boot/archiso.img > ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img
> 
> This does not look good. archiso.img is compressed, while
> intel-ucode.img is uncompressed.

While this does work fine, it breaks lsinitcpio. The correct solution is
to simply add two initrds to all syslinux and gummiboot configuration
files, just like the wiki says (and add the ucode.img as the first one).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20141029/6ec5dee6/attachment.bin>


More information about the arch-releng mailing list