X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fdoc%2Fbuildroot-upgrade.txt;fp=cirros-testvm%2Fsrc-cirros%2Fdoc%2Fbuildroot-upgrade.txt;h=50880d9399581f4b7d2d73158e8290cf7212888d;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/doc/buildroot-upgrade.txt b/cirros-testvm/src-cirros/doc/buildroot-upgrade.txt new file mode 100644 index 0000000..50880d9 --- /dev/null +++ b/cirros-testvm/src-cirros/doc/buildroot-upgrade.txt @@ -0,0 +1,39 @@ +This documents what I did to change from + buildroot version 2012.05 to 2014.08 + +- update README and bin/build-release + README: change 'br_ver' + bin/build-release: BR_VER="2012.05" +- update patches to make sure they apply + ( cd buildroot && QUILT_PATCHES=$PWD/../patches-buildroot quilt push -a ) + remove obsolete patches from series and delete .patch files. +- update default config for all arches + there has to be a better way to do this, but for now: + arches=$(for f in conf/buildr*.config; do a=${f##*-}; echo ${a%.*}; done) + for arch in $arches; do + make br-config ARCH=$arch + done +- update path to uclibc config referenced in buildroot-*.conf + f=".*/uClibc-.*.config"; t="package/uclibc/uClibc-0.9.33.config" + sed -i -e "s,$f,$t" conf/buildroot-*.config +- update path to busybox config + Hopefully this was only a one time thing, as i took out the version + in the path. + # manually changed to package/busybox/busybox-cirros.config + vi conf/buildroot-*.config + + Also changed Makefile to address this +- update Makefile for change in location of 'skeleton' in buildroot tree + Hopefully one time +- update path to device_table.txt + Hopefully one time. + f="target/generic/device_table.txt"; t="system/device_table.txt" + sed -i -e "s,$f,$t,p" conf/buildroot-*.config + +- update Makefile for determining busybox version + Hopefully one time + now this works: make ARCH=i386 br-busybox-menuconfig + +- update busybox config + make ARCH=i386 br-busybox-menuconfig + save