]>
git.proxmox.com Git - zfs-grub.git/blob - Makefile
4 GRUB_SRC
=${GRUB_DIR}.
tar.gz
5 SNAPVER
=2.02-beta2.9
-ZOL11-7aa9f6
7 # update/sync changelog.pve
11 grub2-common_
${DEBVER}_amd64.deb \
12 grub-common_
${DEBVER}_amd64.deb \
13 grub-efi-amd64-bin_
${DEBVER}_amd64.deb \
14 grub-pc_
${DEBVER}_amd64.deb \
15 grub-pc-bin_
${DEBVER}_amd64.deb \
16 grub-pc-dbg_
${DEBVER}_amd64.deb \
17 grub-rescue-pc_
${DEBVER}_amd64.deb \
18 grub-theme-starfield_
${DEBVER}_amd64.deb
21 grub-efi_
${DEBVER}_amd64.deb \
22 grub-efi-amd64_
${DEBVER}_amd64.deb \
23 grub-efi-ia32_
${DEBVER}_amd64.deb \
24 grub-efi-ia32-bin_
${DEBVER}_amd64.deb \
26 DEBS
=${PC_DEBS} ${EFI_DEBS}
38 mv
${GRUB_DIR}/debian
/changelog
${GRUB_DIR}/debian
/changelog.org
39 cat changelog.pve
${GRUB_DIR}/debian
/changelog.org
> ${GRUB_DIR}/debian
/changelog
40 cd
${GRUB_DIR}; ln
-s ..
/pvepatches patches
41 cd
${GRUB_DIR}; quilt push
-a
42 # hack: remove quilt dir, so that dpkg-buildpackage correctly apply
44 rm -rf
${GRUB_DIR}/.
pc ${GRUB_DIR}/patches
45 cd
${GRUB_DIR}; dpkg-buildpackage
-b
-uc
-us
49 rm -rf grub
${GRUB_SRC} ${GRUB_SRC}.tmp
50 git clone https
://github.com
/zfsonlinux
/grub
51 cd grub
; git checkout snapshot
/debian
/jessie
/${SNAPVER}
52 tar czf
${GRUB_SRC}.tmp grub
53 mv
${GRUB_SRC}.tmp
${GRUB_SRC}
57 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
58 mkdir
-p
/pve
/${RELEASE}/extra
59 rm -f
/pve
/${RELEASE}/extra
/grub2-
*.deb
60 rm -f
/pve
/${RELEASE}/extra
/grub-
*.deb
61 cp
${DEBS} /pve
/${RELEASE}/extra
62 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
63 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
69 rm -rf
*~
*.deb
*.udeb
*.changes
${GRUB_DIR}