Re: Stripping nemesis to bare minimum and rebuilding with pm
Posted: 17 Dec 2016, 00:51
have managed to get an updated 001-core, 002-gui, 002-xtra and (my own) 003-util ..as well as deadbeef and palemoon, and pacman-config
using the method i described above... ish..
what i said about linux-api-headers was wrong(i assumed the 4.7 number related to the kernel but this isnt the case)
(its mostly headers that get moved to the devmodule anyways) so update that too...
some stats:
001-core new=100 mb old=78 mb
002-gui new= 42 mb old= 34 mb
003-xtra new= 40 mb old= 33 mb
some notes:
some of this increase is due new packages/binaries/libs being larger and some due to me missing something to be stripped..
stripping was done (somewhat laboriously) by comparing original extracted module with new one..
(and to a lesser extent running a diff... but this can be misleading, because some differences are due to new package versions/extra deps pulled)
and before i was done, some more(eudev,fuse2) updates arrived (all for core) :O
and be sure to check out the .pacnew files (didnt seem to anything to worry about)
AUR packages like cower need to be rebuilt aginst the new libs with makepkg (which probly needs the dev module updated too) gets list on one line(havent figured the trick to remove version numbers)
the -needed avoids reinstalling packages that arent updated(couldnt be bothered removing them from the download list)
that said, that its possible after nearly a year says something...
and besides,if brokenman decides to go this way(manjaro), his build scripts should handle all(most of) the leg work, without all this faffing about..
i might start a new thread better documenting what i did...
using the method i described above... ish..
what i said about linux-api-headers was wrong(i assumed the 4.7 number related to the kernel but this isnt the case)
(its mostly headers that get moved to the devmodule anyways) so update that too...
some stats:
001-core new=100 mb old=78 mb
002-gui new= 42 mb old= 34 mb
003-xtra new= 40 mb old= 33 mb
some notes:
some of this increase is due new packages/binaries/libs being larger and some due to me missing something to be stripped..
stripping was done (somewhat laboriously) by comparing original extracted module with new one..
(and to a lesser extent running a diff... but this can be misleading, because some differences are due to new package versions/extra deps pulled)
and before i was done, some more(eudev,fuse2) updates arrived (all for core) :O
and be sure to check out the .pacnew files (didnt seem to anything to worry about)
AUR packages like cower need to be rebuilt aginst the new libs with makepkg (which probly needs the dev module updated too)
Code: Select all
ls /path/to/extracted/var/lib/pacman/local | tr '\n' ' ' > /path/to/packagelist.txt
Code: Select all
pacman -Udd -needed -r /path/to/extracted/module /var/cache/pacman/pkg/*.pkg.tar.xz
you're not wrongBlaze wrote:I think updating of Nemesis is not simple thing...
that said, that its possible after nearly a year says something...
and besides,if brokenman decides to go this way(manjaro), his build scripts should handle all(most of) the leg work, without all this faffing about..
i might start a new thread better documenting what i did...