Difference between revisions of "Bering-uClibc 6.x - User Guide - Advanced Topics - Unpacking a gpg signed lrp package"
From bering-uClibc
(→Unpacking a signed package) |
|||
Line 2: | Line 2: | ||
! colspan="3" align="center" | [[Bering-uClibc 6.x - User Guide - Advanced Topics - Unpacking a gpg signed lrp package | Unpacking a gpg signed lrp package]] | ! colspan="3" align="center" | [[Bering-uClibc 6.x - User Guide - Advanced Topics - Unpacking a gpg signed lrp package | Unpacking a gpg signed lrp package]] | ||
|- | |- | ||
− | | width="20%" align="left" | + | | width="20%" align="left" | [[Bering-uClibc 6.x - User Guide - Advanced Topics - Setting Up a Raspberry PI as a net to serial gateway|Prev]] |
! width="60%" align="center" | [[Bering-uClibc 6.x - User Guide]] | ! width="60%" align="center" | [[Bering-uClibc 6.x - User Guide]] | ||
| width="20%" align="right" | | | width="20%" align="right" | | ||
Line 37: | Line 37: | ||
----- | ----- | ||
+ | {| summary="Navigation footer" width="100%" | ||
+ | | width="40%" align="left" | [[Bering-uClibc 6.x - User Guide - Advanced Topics - Setting Up a Raspberry PI as a net to serial gateway|Prev]] | ||
+ | | width="20%" align="center" | [[Bering-uClibc 6.x - User Guide|Up]] | ||
+ | | width="40%" align="right" | | ||
+ | |} | ||
+ | |||
+ | [[Category:Bering-uClibc 6.x]] | ||
+ | [[Category:User Guide]] |
Revision as of 03:19, 26 August 2020
Unpacking a gpg signed lrp package | ||
---|---|---|
Prev | Bering-uClibc 6.x - User Guide |
Unpacking a signed package
Starting with version 7.x , the packages in the distribution are now gpg signed. To manually extract their content, you'll have to decrypt the lrp. Start by extracting initrd.lrp
where the signature is to be found.
First go to your distribution directory:
cd Downloads/Bering-uClibc_7.x.x_x86_64_syslinux_serial115200 mkdir initrd cd initdr gzip -cd ../initrd.lrp | cpio -idmv
now, let's decrypt and extract for instance etc.lrp
...
cd .. mkdir etc cd etc gpg --keyring ../initrd/root/.gnupg/LEAF_sigkeys.gpg --decrypt -o etc.tgz ../etc.lrp tar zxvf etc.tgz
You now have access to the package content. Make you modifications and when done, repackage the lrp with:
cd Downloads/Bering-uClibc_7.x.x_x86_64_syslinux_serial115200/etc rm etc.tgz tar -c * | gzip -9 > etc.lrp
Replace the old etc.lrp
in the distribution with your modified version, but during boot you'll get a warning
that the etc.lrp
has no valid signature.
Prev | Up |