bugfilxing: till we have multi arch CI pipelines re-purposing the drone-not-working script and fixing it up, updated paths in the grub.cfg
This commit is contained in:
parent
39806245bf
commit
84e7c07d69
|
@ -8,7 +8,7 @@ Homepage: http://www.wit.com
|
||||||
|
|
||||||
Package: wit-pxeboot-amd64
|
Package: wit-pxeboot-amd64
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, tftpd-hpa, pxelinux, syslinux-common
|
Depends: ${misc:Depends}, tftpd-hpa
|
||||||
Description: kernel and initrd to pxeboot debcore
|
Description: kernel and initrd to pxeboot debcore
|
||||||
kernel and initrd to boot a pxe image easily
|
kernel and initrd to boot a pxe image easily
|
||||||
it also includes a rootfs to quickly kickstart
|
it also includes a rootfs to quickly kickstart
|
||||||
|
|
|
@ -8,7 +8,7 @@ Homepage: http://www.wit.com
|
||||||
|
|
||||||
Package: wit-pxeboot-arm64
|
Package: wit-pxeboot-arm64
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, tftpd-hpa, pxelinux, syslinux-common
|
Depends: ${misc:Depends}, tftpd-hpa
|
||||||
Description: kernel and initrd to pxeboot debcore
|
Description: kernel and initrd to pxeboot debcore
|
||||||
kernel and initrd to boot a pxe image easily
|
kernel and initrd to boot a pxe image easily
|
||||||
it also includes a rootfs to quickly kickstart
|
it also includes a rootfs to quickly kickstart
|
||||||
|
|
|
@ -4,10 +4,11 @@ set -Eeuxo pipefail
|
||||||
export TMP_DIR=$(mktemp -d)
|
export TMP_DIR=$(mktemp -d)
|
||||||
cp -r debian-$ARCH $TMP_DIR/debian
|
cp -r debian-$ARCH $TMP_DIR/debian
|
||||||
cp -r files $TMP_DIR
|
cp -r files $TMP_DIR
|
||||||
echo -e "wit-pxeboot (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(date -R)" >$TMP_DIR/debian/changelog
|
echo -e "wit-pxeboot-$ARCH (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(date -R)" >$TMP_DIR/debian/changelog
|
||||||
sudo TMP_DIR=$TMP_DIR ./create_pxeinitrd.sh
|
sudo ARCH=$ARCH TMP_DIR=$TMP_DIR ./create_pxeinitrd.sh
|
||||||
cd $TMP_DIR
|
cd $TMP_DIR
|
||||||
sudo dpkg-buildpackage --no-sign
|
sudo dpkg-buildpackage --no-sign
|
||||||
scp -i ~/.ssh/packager -o StrictHostKeyChecking=no -P 22022 ../wit-pxeboot_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
|
ls -lha ../wit-pxeboot-${ARCH}_*_all.deb
|
||||||
cd -
|
echo scp -i ~/.ssh/packager -o StrictHostKeyChecking=no -P 22022 ../wit-pxeboot-${ARCH}_*_all.deb root@cloud-api.v2.stack.wit.com:/data/incoming
|
||||||
sudo rm -fr $TMP_DIR
|
#cd -
|
||||||
|
#sudo rm -fr $TMP_DIR
|
||||||
|
|
|
@ -6,23 +6,23 @@ menuentry "localboot" {
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "debcore-x86_64" {
|
menuentry "debcore-x86_64" {
|
||||||
linux /wit-pxeboot/vmlinuz console=tty0 console=ttyS1,115200n8 size=5000
|
linux /wit-pxeboot/vmlinuz-amd64 console=tty0 console=ttyS1,115200n8 size=5000
|
||||||
initrd /wit-pxeboot/initramfs.gz
|
initrd /wit-pxeboot/initramfs-amd64.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "debcore-arm64" {
|
menuentry "debcore-arm64" {
|
||||||
linux /wit-pxeboot-arm/vmlinuz console=tty0 console=ttyAMA0,115200n8 size=5000
|
linux /wit-pxeboot/vmlinuz-arm64 console=tty0 console=ttyAMA0,115200n8 size=5000
|
||||||
initrd /wit-pxeboot-arm/initramfs.gz
|
initrd /wit-pxeboot/initramfs-arm64.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "install-x86_64" {
|
menuentry "install-x86_64" {
|
||||||
linux /wit-pxeboot/vmlinuz console=tty0 console=ttyS1,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1'
|
linux /wit-pxeboot/vmlinuz-amd64 console=tty0 console=ttyS1,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1'
|
||||||
initrd /wit-pxeboot/initramfs.gz
|
initrd /wit-pxeboot/initramfs-amd64.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "install-arm64" {
|
menuentry "install-arm64" {
|
||||||
linux /wit-pxeboot-arm/vmlinuz console=tty0 console=ttyAMA0,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1'
|
linux /wit-pxeboot/vmlinuz-arm64 console=tty0 console=ttyAMA0,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1'
|
||||||
initrd /wit-pxeboot-arm/initramfs.gz
|
initrd /wit-pxeboot/initramfs-arm64.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue