User Tools

Site Tools


project:kernel-autobuild:new-kernel-release

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
project:kernel-autobuild:new-kernel-release [2015/12/17 18:34] 91.89.129.106project:kernel-autobuild:new-kernel-release [2016/10/24 11:45] (current) 37.209.107.175
Line 2: Line 2:
  
 What to do if kernel-autobuild has to be prepared for a new kernel release. What to do if kernel-autobuild has to be prepared for a new kernel release.
 +
 +===== New template directory for meta package (2016-10-23 / 3.18) =====
 +
 +<code>
 +#cd /usr/share/kernel-autobuild
 +cd ushare/kernel-autobuild
 +
 +cp -ax linux-image-3.14-vserver-amd64 linux-image-3.18-vserver-amd64
 +cd linux-image-3.18-vserver-amd64
 +vi Makefile
 +    APPNAME=linux-image-3.18-vserver-amd64
 +    VERSION=3.18.1
 +
 +vi debian/README
 +    The Debian Package linux-image-3.18
 +
 +vi debian/README.Debian
 +    linux-image-3.18 for Debian
 +
 +vi debian/changelog
 +    linux-image-3.18-vserver-amd64 (3.18.1) unstable; urgency=low
 +
 +vi debian/control
 +    Source: linux-image-3.18-vserver-amd64
 +    Depends: linux-firmware-image (=3.18.9-vs2.3.6.6+lihas1-1), linux-image-3.18.9-vs2.3.6.6+lihas1 (=3.18.9-vs2.3.6.6+lihas1-1)
 +    Description: Linux 3.18 for 64-bit PCs (meta-package), Linux-VServer support
 +
 +</code>
 +
 +===== New working directory (2016-04-19 / 3.13) =====
  
 <code> <code>
Line 63: Line 93:
 [    0.466592] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [    0.466592] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
 </code> </code>
 +addendum 2016-10-23: 
 +* similar looking problem with 3.18. Then, no initrd was built during package installation because the dpkg hooks silently failed to do so. Fixed by using a debian 7 / wheezy test image
  
 prequel: prequel:
Line 94: Line 126:
  
 TODO: run vserver's testme TODO: run vserver's testme
 +
 +New template for meta package ''linux-image-X.Y-vserver-amd64''
 +
 +<code>
 +cd ushare
 +cp -ax linux-image-3.10-vserver-amd64 linux-image-4.1-vserver-amd64
 +# change things:
 +diff -r linux-image-3.10-vserver-amd64 linux-image-4.1-vserver-amd64
 +    diff -r /usr/share/kernel-autobuild/linux-image-3.14-vserver-amd64/Makefile /usr/share/kernel-autobuild/linux-image-4.1-vserver-amd64/Makefile
 +    6,7c6,7
 +    < APPNAME=linux-image-3.10-vserver-amd64
 +    < VERSION=3.10.9
 +    ---
 +    > APPNAME=linux-image-4.1-vserver-amd64
 +    > VERSION=4.1
 +    diff -r /usr/share/kernel-autobuild/linux-image-3.14-vserver-amd64/debian/README /usr/share/kernel-autobuild/linux-image-4.1-vserver-amd64/debian/README
 +    1c1
 +    < The Debian Package linux-image-3.10
 +    ---
 +    > The Debian Package linux-image-4.1
 +    6c6
 +    <  -- LiHAS Stuttgart <support@lihas.de>  Mon, 26 Aug 2013 18:15:17 +0200
 +    ---
 +    >  -- LiHAS Stuttgart <support@lihas.de>  Mon, 18 Apr 2016 18:18:46 +0200
 +    diff -r /usr/share/kernel-autobuild/linux-image-3.14-vserver-amd64/debian/README.Debian /usr/share/kernel-autobuild/linux-image-4.1-vserver-amd64/debian/README.Debian
 +    1c1
 +    < linux-image-3.10 for Debian
 +    ---
 +    > linux-image-4.1 for Debian
 +    6c6
 +    <  -- LiHAS Stuttgart <support@lihas.de>  Mon, 26 Aug 2013 18:15:57 +0200
 +    ---
 +    >  -- LiHAS Stuttgart <support@lihas.de>  Mon, 18 Apr 2016 18:18:46 +0200
 +    diff -r /usr/share/kernel-autobuild/linux-image-3.14-vserver-amd64/debian/changelog /usr/share/kernel-autobuild/linux-image-4.1-vserver-amd64/debian/changelog
 +    1c1
 +    < linux-image-3.10-vserver-amd64 (3.10.9) unstable; urgency=low
 +    ---
 +    > linux-image-4.1-vserver-amd64 (4.1) unstable; urgency=low
 +    5c5
 +    <  -- LiHAS Stuttgart <support@lihas.de>  Mon, 26 Aug 2013 18:16:59 +0200
 +    ---
 +    >  -- LiHAS Stuttgart <support@lihas.de>  Mon, 18 Apr 2016 18:18:46 +0200
 +    diff -r /usr/share/kernel-autobuild/linux-image-3.14-vserver-amd64/debian/control /usr/share/kernel-autobuild/linux-image-4.1-vserver-amd64/debian/control
 +    1c1
 +    < Source: linux-image-3.10-vserver-amd64
 +    ---
 +    > Source: linux-image-4.1-vserver-amd64
 +    9c9
 +    < Package: linux-image-3.10-vserver-amd64
 +    ---
 +    > Package: linux-image-4.1-vserver-amd64
 +    11,12c11,12
 +    < Depends: linux-firmware-image (=3.10.9-vs2.3.6.6+lihas1-1), linux-image-3.10.9-vs2.3.6.6+lihas1 (=3.10.9-vs2.3.6.6+lihas1-1)
 +    < Description: Linux 3.10 for 64-bit PCs (meta-package), Linux-VServer support
 +    ---
 +    > Depends: linux-firmware-image (=4.1-vs2.3.6.6+lihas1-1), linux-image-4.1-vs2.3.6.6+lihas1 (=4.1-vs2.3.6.6+lihas1-1)
 +    > Description: Linux 4.1 for 64-bit PCs (meta-package), Linux-VServer support
 +    diff -r /usr/share/kernel-autobuild/linux-image-3.14-vserver-amd64/debian/copyright /usr/share/kernel-autobuild/linux-image-4.1-vserver-amd64/debian/copyright
 +    39c39
 +    <     Copyright (C) 2012 LiHAS Stuttgart <support@lihas.de>
 +    ---
 +    >     Copyright (C) 2016 LiHAS Stuttgart <support@lihas.de>
 +</code>
  
  
project/kernel-autobuild/new-kernel-release.1450373697.txt.gz · Last modified: 2015/12/17 18:34 by 91.89.129.106