]>
Commit | Line | Data |
---|---|---|
fef642b7 | 1 | RELEASE=3.2 |
908abd91 DM |
2 | |
3 | KERNEL_VER=3.10.0 | |
6c374411 | 4 | PKGREL=11 |
908abd91 DM |
5 | # also include firmware of previous versrion into |
6 | # the fw package: fwlist-2.6.32-PREV-pve | |
6c374411 | 7 | KREL=3 |
908abd91 | 8 | |
6c374411 | 9 | RHKVER=123.el7 |
908abd91 DM |
10 | |
11 | KERNELSRCRPM=kernel-${KERNEL_VER}-${RHKVER}.src.rpm | |
12 | ||
13 | EXTRAVERSION=-${KREL}-pve | |
14 | KVNAME=${KERNEL_VER}${EXTRAVERSION} | |
15 | PACKAGE=pve-kernel-${KVNAME} | |
16 | HDRPACKAGE=pve-headers-${KVNAME} | |
17 | ||
18 | ARCH=amd64 | |
19 | GITVERSION:=$(shell cat .git/refs/heads/master) | |
20 | ||
21 | TOP=$(shell pwd) | |
22 | ||
23 | KERNEL_SRC=linux-2.6-${KERNEL_VER} | |
24 | RHKERSRCDIR=rh-kernel-src | |
25 | KERNEL_CFG=config-${KERNEL_VER} | |
26 | ||
27 | KERNEL_CFG_ORG=${RHKERSRCDIR}/kernel-${KERNEL_VER}-x86_64.config | |
28 | ||
38ac51bd | 29 | FW_VER=1.1 |
fef642b7 | 30 | FW_REL=3 |
908abd91 DM |
31 | FW_DEB=pve-firmware_${FW_VER}-${FW_REL}_all.deb |
32 | ||
fef642b7 | 33 | E1000EDIR=e1000e-3.0.4.1 |
160de69b | 34 | E1000ESRC=${E1000EDIR}.tar.gz |
908abd91 | 35 | |
fef642b7 | 36 | IGBDIR=igb-5.1.2 |
ba15f16a | 37 | IGBSRC=${IGBDIR}.tar.gz |
908abd91 | 38 | |
fef642b7 | 39 | IXGBEDIR=ixgbe-3.19.1 |
2bcf7de4 | 40 | IXGBESRC=${IXGBEDIR}.tar.gz |
908abd91 | 41 | |
fef642b7 | 42 | # this does not compile correctly |
e4bb9292 DM |
43 | BNX2DIR=netxtreme2-7.8.56 |
44 | BNX2SRC=${BNX2DIR}.tar.gz | |
908abd91 | 45 | |
b620997b DM |
46 | AACRAIDVER=1.2.1-40300 |
47 | AACRAIDDIR=aacraid-${AACRAIDVER}.src | |
48 | AACRAIDSRC=aacraid-linux-src-${AACRAIDVER}.tgz | |
908abd91 | 49 | |
d38bf0d6 | 50 | # kernel contains newer version 06.700.06.00-rc1 |
908abd91 DM |
51 | #MEGARAID_DIR=megaraid_sas-06.600.18.00 |
52 | #MEGARAID_SRC=${MEGARAID_DIR}-src.tar.gz | |
53 | ||
62e62e26 DM |
54 | ARECADIR=arcmsr-1.30.0X.16-20131206 |
55 | ARECASRC=${ARECADIR}.zip | |
908abd91 | 56 | |
6a23f220 | 57 | # this one does not compile with newer 3.10 kernels! |
908abd91 DM |
58 | #RR272XSRC=RR272x_1x-Linux-Src-v1.5-130325-0732.tar.gz |
59 | #RR272XDIR=rr272x_1x-linux-src-v1.5 | |
60 | ||
55443546 | 61 | # this project look dead - no updates since 3 years |
908abd91 DM |
62 | #ISCSITARGETDIR=iscsitarget-1.4.20.2 |
63 | #ISCSITARGETSRC=${ISCSITARGETDIR}.tar.gz | |
64 | ||
65 | DST_DEB=${PACKAGE}_${KERNEL_VER}-${PKGREL}_${ARCH}.deb | |
66 | HDR_DEB=${HDRPACKAGE}_${KERNEL_VER}-${PKGREL}_${ARCH}.deb | |
67 | PVEPKG=proxmox-ve-${KERNEL_VER} | |
68 | PVE_DEB=${PVEPKG}_${RELEASE}-${PKGREL}_all.deb | |
69 | ||
a7670c6b | 70 | all: check_gcc ${DST_DEB} ${FW_DEB} ${HDR_DEB} |
908abd91 DM |
71 | |
72 | check_gcc: | |
f1009090 | 73 | ifeq ($(CC), cc) |
062da07d | 74 | gcc --version|grep "4\.7\.2" || false |
f1009090 MR |
75 | else |
76 | $(CC) --version|grep "4\.7" || false | |
77 | endif | |
908abd91 DM |
78 | |
79 | ${DST_DEB}: data control.in postinst.in copyright changelog.Debian | |
80 | mkdir -p data/DEBIAN | |
81 | sed -e 's/@KERNEL_VER@/${KERNEL_VER}/' -e 's/@KVNAME@/${KVNAME}/' -e 's/@PKGREL@/${PKGREL}/' <control.in >data/DEBIAN/control | |
82 | sed -e 's/@@KVNAME@@/${KVNAME}/g' <postinst.in >data/DEBIAN/postinst | |
83 | chmod 0755 data/DEBIAN/postinst | |
84 | install -D -m 644 copyright data/usr/share/doc/${PACKAGE}/copyright | |
85 | install -D -m 644 changelog.Debian data/usr/share/doc/${PACKAGE}/changelog.Debian | |
86 | echo "git clone git://git.proxmox.com/git/pve-kernel-3.2.0.git\\ngit checkout ${GITVERSION}" > data/usr/share/doc/${PACKAGE}/SOURCE | |
87 | gzip -f --best data/usr/share/doc/${PACKAGE}/changelog.Debian | |
88 | rm -f data/lib/modules/${KVNAME}/source | |
89 | rm -f data/lib/modules/${KVNAME}/build | |
90 | dpkg-deb --build data ${DST_DEB} | |
91 | lintian ${DST_DEB} | |
92 | ||
93 | ||
94 | fwlist-${KVNAME}: data | |
95 | ./find-firmware.pl data/lib/modules/${KVNAME} >fwlist.tmp | |
96 | mv fwlist.tmp $@ | |
97 | ||
fef642b7 DM |
98 | # fixme: bnx2.ko cnic.ko bnx2x.ko |
99 | data: .compile_mark ${KERNEL_CFG} e1000e.ko igb.ko ixgbe.ko aacraid.ko arcmsr.ko | |
908abd91 DM |
100 | rm -rf data tmp; mkdir -p tmp/lib/modules/${KVNAME} |
101 | mkdir tmp/boot | |
102 | install -m 644 ${KERNEL_CFG} tmp/boot/config-${KVNAME} | |
103 | install -m 644 ${KERNEL_SRC}/System.map tmp/boot/System.map-${KVNAME} | |
104 | install -m 644 ${KERNEL_SRC}/arch/x86_64/boot/bzImage tmp/boot/vmlinuz-${KVNAME} | |
105 | cd ${KERNEL_SRC}; make INSTALL_MOD_PATH=../tmp/ modules_install | |
2bcf7de4 | 106 | # install latest ixgbe driver |
d38bf0d6 | 107 | install -m 644 ixgbe.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ethernet/intel/ixgbe/ |
160de69b | 108 | # install latest e1000e driver |
d38bf0d6 | 109 | install -m 644 e1000e.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ethernet/intel/e1000e/ |
ba15f16a | 110 | # install latest ibg driver |
d38bf0d6 | 111 | install -m 644 igb.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ethernet/intel/igb/ |
fef642b7 DM |
112 | ## install bnx2 drivers |
113 | #install -m 644 bnx2.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ethernet/broadcom/ | |
114 | #install -m 644 cnic.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ethernet/broadcom/ | |
115 | #install -m 644 bnx2x.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/ethernet/broadcom/bnx2x/ | |
b620997b DM |
116 | # install aacraid drivers |
117 | install -m 644 aacraid.ko tmp/lib/modules/${KVNAME}/kernel/drivers/scsi/aacraid/ | |
908abd91 DM |
118 | ## install Highpoint 2710 RAID driver |
119 | #install -m 644 rr272x_1x.ko -D tmp/lib/modules/${KVNAME}/kernel/drivers/scsi/rr272x_1x/rr272x_1x.ko | |
120 | # install areca driver | |
62e62e26 | 121 | install -m 644 arcmsr.ko tmp/lib/modules/${KVNAME}/kernel/drivers/scsi/arcmsr/ |
908abd91 DM |
122 | # remove firmware |
123 | rm -rf tmp/lib/firmware | |
124 | # strip debug info | |
125 | find tmp/lib/modules -name \*.ko -print | while read f ; do strip --strip-debug "$$f"; done | |
126 | # finalize | |
127 | depmod -b tmp/ ${KVNAME} | |
128 | mv tmp data | |
129 | ||
130 | .compile_mark: ${KERNEL_SRC}/README ${KERNEL_CFG} | |
131 | cp ${KERNEL_CFG} ${KERNEL_SRC}/.config | |
132 | cd ${KERNEL_SRC}; make oldconfig | |
133 | cd ${KERNEL_SRC}; make -j 8 | |
134 | touch $@ | |
135 | ||
136 | ${KERNEL_CFG}: ${KERNEL_CFG_ORG} config-${KERNEL_VER}.diff | |
137 | cp ${KERNEL_CFG_ORG} ${KERNEL_CFG}.new | |
9ed71929 | 138 | patch --no-backup ${KERNEL_CFG}.new config-${KERNEL_VER}.diff |
908abd91 DM |
139 | mv ${KERNEL_CFG}.new ${KERNEL_CFG} |
140 | ||
141 | ${KERNEL_SRC}/README: ${KERNEL_SRC}.org/README | |
142 | rm -rf ${KERNEL_SRC} | |
143 | cp -a ${KERNEL_SRC}.org ${KERNEL_SRC} | |
144 | #cd ${KERNEL_SRC}; patch -p1 <../bootsplash-3.8.diff | |
145 | #cd ${KERNEL_SRC}; patch -p1 <../${RHKERSRCDIR}/patch-042stab083 | |
146 | #cd ${KERNEL_SRC}; patch -p1 <../do-not-use-barrier-on-ext3.patch | |
952a2007 | 147 | cd ${KERNEL_SRC}; patch -p1 <../bridge-patch.diff |
908abd91 DM |
148 | #cd ${KERNEL_SRC}; patch -p1 <../kvm-fix-invalid-secondary-exec-controls.patch |
149 | #cd ${KERNEL_SRC}; patch -p1 <../fix-aspm-policy.patch | |
150 | #cd ${KERNEL_SRC}; patch -p1 <../kbuild-generate-mudules-builtin.patch | |
151 | #cd ${KERNEL_SRC}; patch -p1 <../add-tiocgdev-ioctl.patch | |
152 | #cd ${KERNEL_SRC}; patch -p1 <../fix-nfs-block-count.patch | |
153 | #cd ${KERNEL_SRC}; patch -p1 <../fix-idr-header-for-drbd-compilation.patch | |
3c6eeea3 | 154 | cd ${KERNEL_SRC}; patch -p1 <../n_tty-Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch |
debbaada | 155 | cd ${KERNEL_SRC}; patch -p1 <../add-empty-ndo_poll_controller-to-veth.patch |
908abd91 DM |
156 | sed -i ${KERNEL_SRC}/Makefile -e 's/^EXTRAVERSION.*$$/EXTRAVERSION=${EXTRAVERSION}/' |
157 | touch $@ | |
158 | ||
159 | ${KERNEL_SRC}.org/README: ${RHKERSRCDIR}/kernel.spec ${RHKERSRCDIR}/linux-${KERNEL_VER}-${RHKVER}.tar.xz | |
160 | rm -rf ${KERNEL_SRC}.org linux-${KERNEL_VER}-${RHKVER} | |
161 | tar xf ${RHKERSRCDIR}/linux-${KERNEL_VER}-${RHKVER}.tar.xz | |
162 | mv linux-${KERNEL_VER}-${RHKVER} ${KERNEL_SRC}.org | |
163 | touch $@ | |
164 | ||
165 | ${RHKERSRCDIR}/kernel.spec: ${KERNELSRCRPM} | |
166 | rm -rf ${RHKERSRCDIR} | |
167 | mkdir ${RHKERSRCDIR} | |
168 | cd ${RHKERSRCDIR};rpm2cpio ../${KERNELSRCRPM} |cpio -i | |
169 | touch $@ | |
170 | ||
171 | #rr272x_1x.ko: .compile_mark ${RR272XSRC} | |
172 | # rm -rf ${RR272XDIR} | |
173 | # tar xf ${RR272XSRC} | |
174 | # mkdir -p /lib/modules/${KVNAME} | |
175 | # ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build | |
176 | # make -C ${TOP}/${RR272XDIR}/product/rr272x/linux KERNELDIR=${TOP}/${KERNEL_SRC} | |
177 | # cp ${RR272XDIR}/product/rr272x/linux/$@ . | |
178 | ||
908abd91 | 179 | |
b620997b DM |
180 | aacraid.ko: .compile_mark ${AACRAIDSRC} |
181 | rm -rf ${AACRAIDDIR} | |
182 | tar xzf ${AACRAIDSRC} | |
183 | mkdir -p /lib/modules/${KVNAME} | |
184 | ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build | |
185 | make -C ${TOP}/${KERNEL_SRC} M=${TOP}/${AACRAIDDIR}/aacraid_source modules | |
186 | cp ${AACRAIDDIR}/aacraid_source/aacraid.ko . | |
908abd91 | 187 | |
160de69b DM |
188 | e1000e.ko e1000e: .compile_mark ${E1000ESRC} |
189 | rm -rf ${E1000EDIR} | |
190 | tar xf ${E1000ESRC} | |
191 | mkdir -p /lib/modules/${KVNAME} | |
192 | ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build | |
193 | cd ${E1000EDIR}/src; make BUILD_KERNEL=${KVNAME} | |
194 | cp ${E1000EDIR}/src/e1000e.ko e1000e.ko | |
908abd91 | 195 | |
ba15f16a DM |
196 | igb.ko igb: .compile_mark ${IGBSRC} |
197 | rm -rf ${IGBDIR} | |
198 | tar xf ${IGBSRC} | |
199 | mkdir -p /lib/modules/${KVNAME} | |
200 | ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build | |
201 | cd ${IGBDIR}/src; make BUILD_KERNEL=${KVNAME} | |
202 | cp ${IGBDIR}/src/igb.ko igb.ko | |
908abd91 | 203 | |
2bcf7de4 DM |
204 | ixgbe.ko ixgbe: .compile_mark ${IXGBESRC} |
205 | rm -rf ${IXGBEDIR} | |
206 | tar xf ${IXGBESRC} | |
207 | mkdir -p /lib/modules/${KVNAME} | |
208 | ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build | |
209 | cd ${IXGBEDIR}/src; make CFLAGS_EXTRA="-DIXGBE_NO_LRO" BUILD_KERNEL=${KVNAME} | |
210 | cp ${IXGBEDIR}/src/ixgbe.ko ixgbe.ko | |
908abd91 | 211 | |
e4bb9292 DM |
212 | bnx2.ko cnic.ko bnx2x.ko: ${BNX2SRC} |
213 | rm -rf ${BNX2DIR} | |
214 | tar xf ${BNX2SRC} | |
215 | mkdir -p /lib/modules/${KVNAME} | |
216 | ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build | |
217 | cd ${BNX2DIR}; make -C bnx2/src KVER=${KVNAME} | |
218 | cd ${BNX2DIR}; make -C bnx2x/src KVER=${KVNAME} | |
219 | cp `find ${BNX2DIR} -name bnx2.ko -o -name cnic.ko -o -name bnx2x.ko` . | |
908abd91 | 220 | |
62e62e26 DM |
221 | arcmsr.ko: .compile_mark ${ARECASRC} |
222 | rm -rf ${ARECADIR} | |
223 | mkdir ${ARECADIR}; cd ${ARECADIR}; unzip ../${ARECASRC} | |
224 | mkdir -p /lib/modules/${KVNAME} | |
225 | ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build | |
226 | cd ${ARECADIR}; make -C ${TOP}/${KERNEL_SRC} SUBDIRS=${TOP}/${ARECADIR} modules | |
227 | cp ${ARECADIR}/arcmsr.ko arcmsr.ko | |
908abd91 DM |
228 | |
229 | #iscsi_trgt.ko: .compile_mark ${ISCSITARGETSRC} | |
230 | # rm -rf ${ISCSITARGETDIR} | |
231 | # tar xf ${ISCSITARGETSRC} | |
232 | # cd ${ISCSITARGETDIR}; make KSRC=${TOP}/${KERNEL_SRC} | |
233 | # cp ${ISCSITARGETDIR}/kernel/iscsi_trgt.ko iscsi_trgt.ko | |
234 | ||
235 | headers_tmp := $(CURDIR)/tmp-headers | |
236 | headers_dir := $(headers_tmp)/usr/src/linux-headers-${KVNAME} | |
237 | ||
238 | ${HDR_DEB} hdr: .compile_mark headers-control.in headers-postinst.in | |
239 | rm -rf $(headers_tmp) | |
240 | install -d $(headers_tmp)/DEBIAN $(headers_dir)/include/ | |
241 | sed -e 's/@KERNEL_VER@/${KERNEL_VER}/' -e 's/@KVNAME@/${KVNAME}/' -e 's/@PKGREL@/${PKGREL}/' <headers-control.in >$(headers_tmp)/DEBIAN/control | |
242 | sed -e 's/@@KVNAME@@/${KVNAME}/g' <headers-postinst.in >$(headers_tmp)/DEBIAN/postinst | |
243 | chmod 0755 $(headers_tmp)/DEBIAN/postinst | |
244 | install -D -m 644 copyright $(headers_tmp)/usr/share/doc/${HDRPACKAGE}/copyright | |
245 | install -D -m 644 changelog.Debian $(headers_tmp)/usr/share/doc/${HDRPACKAGE}/changelog.Debian | |
a7670c6b | 246 | echo "git clone git://git.proxmox.com/git/pve-kernel-3.10.0.git\\ngit checkout ${GITVERSION}" > $(headers_tmp)/usr/share/doc/${HDRPACKAGE}/SOURCE |
908abd91 DM |
247 | gzip -f --best $(headers_tmp)/usr/share/doc/${HDRPACKAGE}/changelog.Debian |
248 | install -m 0644 ${KERNEL_SRC}/.config $(headers_dir) | |
249 | install -m 0644 ${KERNEL_SRC}/Module.symvers $(headers_dir) | |
250 | cd ${KERNEL_SRC}; find . -path './debian/*' -prune -o -path './include/*' -prune -o -path './Documentation' -prune \ | |
251 | -o -path './scripts' -prune -o -type f \ | |
252 | \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ | |
253 | -name '*.sh' -o -name '*.pl' \) \ | |
254 | -print | cpio -pd --preserve-modification-time $(headers_dir) | |
255 | cd ${KERNEL_SRC}; cp -a include scripts $(headers_dir) | |
256 | cd ${KERNEL_SRC}; (find arch/x86 -name include -type d -print | \ | |
257 | xargs -n1 -i: find : -type f) | \ | |
258 | cpio -pd --preserve-modification-time $(headers_dir) | |
259 | dpkg-deb --build $(headers_tmp) ${HDR_DEB} | |
260 | #lintian ${HDR_DEB} | |
261 | ||
00557136 DM |
262 | dvb-firmware.git/README: |
263 | git clone https://github.com/OpenELEC/dvb-firmware.git dvb-firmware.git | |
264 | ||
908abd91 DM |
265 | linux-firmware.git/WHENCE: |
266 | git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git linux-firmware.git | |
267 | ||
ac21d69d | 268 | ${FW_DEB} fw: control.firmware linux-firmware.git/WHENCE dvb-firmware.git/README changelog.firmware fwlist-2.6.18-2-pve fwlist-2.6.24-12-pve fwlist-2.6.32-3-pve fwlist-2.6.32-4-pve fwlist-2.6.32-6-pve fwlist-2.6.35-1-pve fwlist-2.6.32-13-pve fwlist-2.6.32-14-pve fwlist-2.6.32-20-pve fwlist-2.6.32-21-pve fwlist-${KVNAME} |
908abd91 DM |
269 | rm -rf fwdata |
270 | mkdir -p fwdata/lib/firmware | |
271 | ./assemble-firmware.pl fwlist-${KVNAME} fwdata/lib/firmware | |
272 | # include any files from older/newer kernels here | |
273 | ./assemble-firmware.pl fwlist-2.6.24-12-pve fwdata/lib/firmware | |
274 | ./assemble-firmware.pl fwlist-2.6.18-2-pve fwdata/lib/firmware | |
275 | ./assemble-firmware.pl fwlist-2.6.32-3-pve fwdata/lib/firmware | |
276 | ./assemble-firmware.pl fwlist-2.6.32-4-pve fwdata/lib/firmware | |
908abd91 DM |
277 | ./assemble-firmware.pl fwlist-2.6.32-6-pve fwdata/lib/firmware |
278 | ./assemble-firmware.pl fwlist-2.6.35-1-pve fwdata/lib/firmware | |
279 | ./assemble-firmware.pl fwlist-2.6.32-13-pve fwdata/lib/firmware | |
280 | ./assemble-firmware.pl fwlist-2.6.32-14-pve fwdata/lib/firmware | |
908abd91 | 281 | ./assemble-firmware.pl fwlist-2.6.32-20-pve fwdata/lib/firmware |
ac21d69d | 282 | ./assemble-firmware.pl fwlist-2.6.32-21-pve fwdata/lib/firmware |
908abd91 DM |
283 | install -d fwdata/usr/share/doc/pve-firmware |
284 | cp linux-firmware.git/WHENCE fwdata/usr/share/doc/pve-firmware/README | |
285 | install -d fwdata/usr/share/doc/pve-firmware/licenses | |
286 | cp linux-firmware.git/LICEN[CS]E* fwdata/usr/share/doc/pve-firmware/licenses | |
287 | install -D -m 0644 changelog.firmware fwdata/usr/share/doc/pve-firmware/changelog.Debian | |
288 | gzip -9 fwdata/usr/share/doc/pve-firmware/changelog.Debian | |
289 | echo "git clone git://git.proxmox.com/git/pve-kernel-2.6.32.git\\ngit checkout ${GITVERSION}" >fwdata/usr/share/doc/pve-firmware/SOURCE | |
290 | install -d fwdata/DEBIAN | |
291 | sed -e 's/@VERSION@/${FW_VER}-${FW_REL}/' <control.firmware >fwdata/DEBIAN/control | |
292 | dpkg-deb --build fwdata ${FW_DEB} | |
293 | ||
294 | .PHONY: upload | |
a7670c6b | 295 | upload: ${DST_DEB} ${HDR_DEB} ${FW_DEB} |
908abd91 DM |
296 | umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw |
297 | mkdir -p /pve/${RELEASE}/extra | |
298 | mkdir -p /pve/${RELEASE}/install | |
299 | rm -rf /pve/${RELEASE}/extra/${PACKAGE}_*.deb | |
300 | rm -rf /pve/${RELEASE}/extra/${HDRPACKAGE}_*.deb | |
7f2cb4e4 | 301 | rm -rf /pve/${RELEASE}/extra/pve-firmware*.deb |
908abd91 | 302 | rm -rf /pve/${RELEASE}/extra/Packages* |
a7670c6b | 303 | cp ${DST_DEB} ${FW_DEB} ${HDR_DEB} /pve/${RELEASE}/extra |
908abd91 DM |
304 | cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz |
305 | umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro | |
306 | ||
307 | .PHONY: distclean | |
308 | distclean: clean | |
7f2cb4e4 | 309 | rm -rf linux-firmware.git dvb-firmware.git ${KERNEL_SRC}.org ${RHKERSRCDIR} |
908abd91 DM |
310 | |
311 | .PHONY: clean | |
312 | clean: | |
55443546 | 313 | rm -rf *~ .compile_mark ${KERNEL_CFG} ${KERNEL_SRC} tmp data proxmox-ve/data *.deb ${AOEDIR} aoe.ko ${headers_tmp} fwdata fwlist.tmp *.ko ${IXGBEDIR} ${E1000EDIR} e1000e.ko ${IGBDIR} igb.ko fwlist-${KVNAME} ${BNX2DIR} bnx2.ko cnic.ko bnx2x.ko aacraid.ko ${AACRAIDDIR} rr272x_1x.ko ${RR272XDIR} ${ARECADIR}.ko ${ARECADIR} |
908abd91 DM |
314 | |
315 | ||
316 | ||
317 |