make_kpkg runs postinst scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux |
New
|
Undecided
|
Unassigned | ||
kernel-package (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
I'm trying to compile and package a linux 3.15-rc1 to debug a problem I've had with the kernel from the kernel-ppa.
I run in the root of the upstream kernel tree:
fakeroot make-kpkg -j8 --append-to-version -bad --initrd --us --uc kernel-image
Most of the process seems to go perfectly well but it ends with:
...
make[2]: Leaving directory `/home/
make[2]: Entering directory `/home/
sh /home/maxime/
System.map "/home/
run-parts: executing /etc/kernel/
/etc/kernel/
run-parts: /etc/kernel/
make[3]: *** [install] Erreur 1
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/
make[1]: *** [debian/
make[1]: Leaving directory `/home/
make: *** [kernel-image] Error 2
I'm no kernel packaging expert, but I would expect scripts in /etc/kernel/
And I'm compiling for another machine so running as real root is not an option.
As a result, I am unable to build a .deb of the kernel.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: kernel-package 12.036+nmu3
ProcVersionSign
Uname: Linux 3.13.0-
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Apr 15 19:34:21 2014
InstallationDate: Installed on 2014-04-06 (8 days ago)
InstallationMedia: Ubuntu-Studio 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326.1)
PackageArchitec
SourcePackage: kernel-package
UpgradeStatus: No upgrade log present (probably fresh install)
Cofirming same bug building 3.15rc1
all kernels built up to 3.14.1 built ok but 3.15rc1 is no go.
time fakeroot make-kpkg --initrd --revision=`date +%m%d%Y` --append- to-version= -`date +%m%d%Y` kernel-image kernel-headers
Errors out with same error above
Don't know if this is related to the thread at https:/ /lkml.org/ lkml/2014/ 4/11/56
or not.
DISTRIB_ID=Ubuntu RELEASE= 14.04 CODENAME= trusty DESCRIPTION= "Ubuntu 14.04 LTS"
DISTRIB_
DISTRIB_
DISTRIB_
Linux desktop 3.14.0-04012014 #1 SMP PREEMPT Tue Apr 1 14:15:21 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux