Re: Maybe my frequent kernel building could be of some help to the community? And how to build?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Randy Dunlap wrote:
On 03/23/10 18:12, Piotr Hosowicz wrote:
Piotr Hosowicz wrote:

But it seems that it works, but I do not understand why. Needs rewrite,
better config template line parsing.
I made it with Python, the scripts follow:

Thanks for sharing them.

Sorry to say but they are crap, the python script corrupts the config file, I do not know why. I'll try to solve it and post again.

--- main try-build.sh

#!/bin/bash

RCPT=phz@localhost

function tidy(){
  rm ../results/.config 2>/dev/null
  rm ../results/build.log 2>/dev/null
  rm ../BUILDING-NOW 2>/dev/null
}

cd ~/kernel/linux
if test -f ../BUILDING-NOW ; then
  exit 0
else
  touch ../BUILDING-NOW
  make mrproper
  cat ../config.all | ../randomize-conf.py > ./.config
  make prepare
  cp .config ../results/
  make -j 10 2>&1 > ../results/build.log

'make' with no target also builds modules, so the 'make modules'
below isn't needed (it's extra work).

Yes, but I wanted to have it separate to know when the build fails.

Regards,

Piotr Hosowicz

--
Miss World 2006: Jestem szczęśliwa, że mogę wspaniale uczestniczyć w
przeżyciu najpiękniejszych kobiet tutaj w Warszawie, gdzie Jan Paweł II,
papież, w Polsce, skąd pochodzi. Spotkałam się z Kościołem Mariackim
w Krakowie, który ciepło ludzi i wielka przyjaźń. Połowa mojego serca
zostanie w Polsce, a druga połowa pojedzie ze mną do mojego kraju.
NP: Mark Knopfler - Piper To The End
NB: 2.6.34-rc2-nx-20100324-next-20100324+
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux