You are not logged in.
Pages: 1
Hi all,
Looking for the kernel26archck PKGBUILD (want to make it more user-friendly by prompting user for kernel configuration as per kernel26mm).
Have searched the AUR using the php search function, the AUR manually (no ../packages/kernel26archck), the BBS, and dibblethewrecker's repositories.
Could someone point me in the right direction please?
John.
Offline
It's in CVS jrbeire - have a look here.
Good to see another Irish Archer around.....
Offline
want to make it more user-friendly by prompting user for kernel configuration as per kernel26mm
Hmmm - I'm offended - it's not user unfriendly, it's unambiguous...
Offline
Tomk: thanks for the location.
dibblethewrecker: no offence intended
For anyone else who wants to do this:
Replace
# load configuration
yes "" | make config
with (from kernel26mm PKGBUILD):
# load configuration - prompt user as per kernel26mm
echo "==> "
echo "==> How do you want to configure the kernel:"
echo "==> ----------------------------------------"
echo "==> (for ArchLinux defaults, use 'not_at_all (1)')"
echo "==> "
AUSWAHL="not_at_all menuconfig xconfig oldconfig config"
select opt in $AUSWAHL; do
if [ "$opt" = "not_at_all" ]; then
yes "" | make config || return 1
mv $startdir/config.orig $startdir/config
break
elif [ "$opt" = "menuconfig" ]; then
make menuconfig || return 1
cp .config $startdir/config && echo "==> your config was saved to $startdir/config"
break
elif [ "$opt" = "xconfig" ]; then
make xconfig || return 1
cp .config $startdir/config && echo "==> your config was saved to $startdir/config"
break
elif [ "$opt" = "config" ]; then
make config || return 1
cp .config $startdir/config && echo "==> your config was saved to $startdir/config"
break
elif [ "$opt" = "oldconfig" ]; then
make oldconfig || return 1
cp .config $startdir/config && echo "==> your config was saved to $startdir/config"
break
else
clear
echo "==> I don't understand (bad option) ... assuming you don't want "
echo "==> to configure and use the defaults."
sleep 1
echo "==> 3..."
sleep 1
echo "==> 2..."
sleep 1
echo "==> 1..."
sleep 1
echo "==> 0: GO! --------------------------- :-)"
yes "" | make config || return 1
mv $startdir/config.orig $startdir/config
break
fi
done
echo ""
echo "==> Building the kernel $kernelver will start in 2s ! "
echo "==> Happy compiling and good luck :-)"
echo ""
sleep 2
Offline
I am amazed dp puts that stuff in his PKGBUILDs. I never seen such pointless bloat in an official Arch pkg. You can quite simply replace the
# load configuration
yes "" | make config
with
#yes "" | make config
#make oldconfig || return 1
#make menuconfig
#make xconfig
make gconfig
an uncomment the one you prefer or just replace it with one of the above.
Offline
I agree with dibble - PKGBUILDs shouldn't be interactive...
Offline
precisely
Offline
Pages: 1