<div dir="ltr"><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I have to ask - what is the purpose of separating kernel, kernel-core and kernel-modules into separate packages?</span><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 16, 2018 at 9:24 PM, Pablo Sebastián Greco <span dir="ltr"><<a href="mailto:pablo@fliagreco.com.ar" target="_blank">pablo@fliagreco.com.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
El 16/8/18 a las 17:08, Stephen John Smoogen escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, 16 Aug 2018 at 15:58, Robert Moskowitz <<a href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 08/16/2018 03:00 PM, Stephen John Smoogen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, 16 Aug 2018 at 14:44, Robert Moskowitz <<a href="mailto:rgm@htt-consult.com" target="_blank">rgm@htt-consult.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just installed the new kernel on one of my Cubieboard2s. /boot used<br>
grew ~130MB.<br>
<br>
Challenge is that my next board to update only has 43MB free. It<br>
currently has 3 kernels on it.<br>
<br>
Is there a way to cleanly delete old kernel files prior to the update?<br>
In this case 4.9.30-203?<br>
<br>
</blockquote>
Are you meaning something like this?<br>
```<br>
[smooge@smoogen-laptop ~]$ rpm -q kernel<br>
kernel-3.10.0-693.21.1.el7.x86<wbr>_64<br>
kernel-3.10.0-862.el7.x86_64<br>
kernel-3.10.0-862.2.3.el7.x86_<wbr>64<br>
kernel-3.10.0-862.3.2.el7.x86_<wbr>64<br>
kernel-3.10.0-891.el7.x86_64<br>
[smooge@smoogen-laptop ~]$ uname -a # to see what you have running<br>
Linux smoogen-laptop.localdomain 3.10.0-891.el7.x86_64 #1 SMP Mon May<br>
21 14:10:11 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux<br>
$ sudo rpm -e kernel-3.10.0-693.21.1.el7.x86<wbr>_64<br>
kernel-3.10.0-862.el7.x86_64 kernel-3.10.0-862.2.3.el7.x86_<wbr>64<br>
</blockquote>
rpm -e kernel-4.9.30-203.el7.armv7hl<br>
<br>
Did nothing. Just came back to the # prompt. And no reduction in space<br>
used in /boot and no change in 'ls /boot'. Or at least what I noticed.<br>
<br>
</blockquote>
Then you need to use the du command and see what is using up the<br>
space. Also check to make sure that the size is the same as the other<br>
systems to see why they have different amounts.<br>
<br>
</blockquote>
kernels for armhfp come in 3 parts (or more), there is kernel, kernel-core and kernel-modules, so you need to remove all those 3 for each kernel in order o actually free space.<br>
<br>
rpm -qa "kernel*"|sort<br>
kernel-4.14.28-201.el7.centos.<wbr>armv7hl<br>
kernel-4.14.52-201.el7.armv7hl<br>
kernel-core-4.14.28-201.el7.ce<wbr>ntos.armv7hl<br>
<a href="http://kernel-core-4.14.52-201.el7.ar">kernel-core-4.14.52-201.el7.ar</a><wbr>mv7hl<br>
kernel-headers-4.14.52-201.el7<wbr>.armv7hl<br>
kernel-modules-4.14.28-201.el7<wbr>.centos.armv7hl<br>
kernel-modules-4.14.52-201.el7<wbr>.armv7hl<br>
kernel-tools-4.14.52-201.el7.a<wbr>rmv7hl<br>
kernel-tools-libs-4.14.52-201.<wbr>el7.armv7hl<br>
<br>
Pablo.<br>
______________________________<wbr>_________________<br>
Arm-dev mailing list<br>
<a href="mailto:Arm-dev@centos.org" target="_blank">Arm-dev@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/arm-dev" rel="noreferrer" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/arm-dev</a><br>
</blockquote></div><br></div></div></div>