You are not logged in.

#1 2010-03-14 21:13:49

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 585

makepkg split package question.

I was making today a custom kernel using the kernel26 PKGBUILD file. This files creates three (3) packages. kernel26, kernel26-headers, kernel26-firmware. While packaging kernel26-headers the power went down. I started again with makepkg but it complained for the presence of the packet kernel26-xxxxx.pkg.tar.gz and suggested -f option to build the package again. Is this behavior "correct"? kernel26-xxxxx.pkg.tar.gz was successfully builded before the power loss. Is there an option for makepkg to build the remaining packages?


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#2 2010-03-14 21:15:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: makepkg split package question.

Given the build was completed, "makepkg -Rf" will just repackage all packages.

Offline

#3 2010-03-14 21:20:05

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 585

Re: makepkg split package question.

Allan wrote:

Given the build was completed, "makepkg -Rf" will just repackage all packages.

I read man makepkg at least 3 times. I can swear the -R wasn't there before... tongue:P:P

-R, --repackage
           Repackage contents of the package without rebuilding the package. This is useful if you forgot a depend or install file in your PKGBUILD
           and the build itself will not change.

I think that I should go to sleep right now...

Thanks you Alan.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

Board footer

Powered by FluxBB