给ubuntu内核打preempt rt补丁后就无法生成*.deb包是啥原因?
发表于 : 2017-10-22 14:57
我的操作流程:
1,下载
$git clone git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack -b v4.13.7
在kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.7/下载3个补丁:
0001-base-packaging.patch
0002-debian-changelog.patch
0003-configs-based-on-Ubuntu-4.13.0-11.12.patch
到https://www.kernel.org/pub/linux/kernel/project ... 1.patch.xz
2,打补丁
$patch -p1 < ../0001-base-packaging.patch
$patch -p1 < ../0002-debian-changelog.patch
$patch -p1 < ../0003-configs-based-on-Ubuntu-4.13.0-11.12.patch
$xzcat ../patch-4.13.7-rt1.patch.xz | patch -p1
3,编译
$sudo apt-get install kernel-package fakeroot build-essential libssl-dev git kernel-wedge debhelper pciutils-dev libpci-dev
$chmod a+x debian/rules
$chmod a+x debian/scripts/*
$chmod a+x debian/scripts/misc/*
$fakeroot debian/rules clean
$fakeroot debian/rules binary-headers binary-generic binary-perarch
在上面这一步时总出错 如果不打preempt rt补丁(上面黑粗标识的那行),则是能顺利编译出*.deb
请教下大家,谢
1,下载
$git clone git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack -b v4.13.7
在kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.7/下载3个补丁:
0001-base-packaging.patch
0002-debian-changelog.patch
0003-configs-based-on-Ubuntu-4.13.0-11.12.patch
到https://www.kernel.org/pub/linux/kernel/project ... 1.patch.xz
2,打补丁
$patch -p1 < ../0001-base-packaging.patch
$patch -p1 < ../0002-debian-changelog.patch
$patch -p1 < ../0003-configs-based-on-Ubuntu-4.13.0-11.12.patch
$xzcat ../patch-4.13.7-rt1.patch.xz | patch -p1
3,编译
$sudo apt-get install kernel-package fakeroot build-essential libssl-dev git kernel-wedge debhelper pciutils-dev libpci-dev
$chmod a+x debian/rules
$chmod a+x debian/scripts/*
$chmod a+x debian/scripts/misc/*
$fakeroot debian/rules clean
$fakeroot debian/rules binary-headers binary-generic binary-perarch
在上面这一步时总出错 如果不打preempt rt补丁(上面黑粗标识的那行),则是能顺利编译出*.deb
请教下大家,谢