mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
Updated kernel to 2.6.34.1 with interactive upgrader
This commit is contained in:
parent
cf94fb1627
commit
538a511837
3 changed files with 27 additions and 15 deletions
|
@ -1,7 +1,11 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@gmail.com>
|
||||
|
||||
# This PKGBUILD installs the README executable (confusing name)
|
||||
# for a kernel and modules from sheeva.with-linux.com.
|
||||
# It asks users whether to install to USB/SD or to NAND, automating the process.
|
||||
|
||||
pkgname=kernel26-withlinux
|
||||
pkgver=2.6.33.3
|
||||
pkgver=2.6.34.1
|
||||
pkgrel=1
|
||||
pkgdesc="The Linux Kernel and modules"
|
||||
arch=('arm')
|
||||
|
@ -13,7 +17,7 @@ conflicts=('kernel26')
|
|||
provides=('kernel26')
|
||||
install=kernel26-withlinux.install
|
||||
source=(http://sheeva.with-linux.com/sheeva/README-$pkgver)
|
||||
md5sums=('f791654e216f2d06efee540c0c7968fd')
|
||||
md5sums=('b5374deb75373e56ae56a0d362dc58f6')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/
|
||||
|
|
|
@ -1,14 +1,23 @@
|
|||
post_install() {
|
||||
cat <<INSTALL
|
||||
If running from internal NAND, run:
|
||||
/usr/share/plugapps/kernel/README-* --nandkernel
|
||||
|
||||
If running from SD/MMC/USB, run:
|
||||
/usr/share/plugapps/kernel/README-* --rootkernel
|
||||
and then copy the kernel to /boot/uImage.
|
||||
|
||||
Also, check the U-Boot environment variables and reboot.
|
||||
INSTALL
|
||||
echo -e "\033[1mPlugbox Kernel Installation/Upgrade\033[0m"
|
||||
echo "Where do you have Plugbox installed?"
|
||||
echo ""
|
||||
echo "Enter the number of USB/SD Card, NAND, or to skip installation."
|
||||
echo ""
|
||||
echo "1. USB/SD Card"
|
||||
echo "2. NAND"
|
||||
echo "3. Skip installation"
|
||||
read INSTALLLOCATION
|
||||
|
||||
if [ $INSTALLLOCATION -eq 1 ]; then
|
||||
rm -rf /boot/uImage
|
||||
/usr/share/plugapps/kernel/README-2.6.34.1 --rootkernel
|
||||
mv /boot/sheeva-2.6.34.1-uImage /boot/uImage
|
||||
fi
|
||||
|
||||
if [ $INSTALLLOCATION -eq 2 ]; then
|
||||
/usr/share/plugapps/kernel/README-2.6.34.1 --nandkernel
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Plugbox Linux Distribution Image Builder
|
||||
# Version 0.3.4
|
||||
# Version 0.3.5
|
||||
#
|
||||
# Licensed under the GPLv2.
|
||||
#
|
||||
|
@ -17,7 +17,7 @@
|
|||
#
|
||||
# ==== Variables to set ====
|
||||
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal"
|
||||
RELEASEVER=1.1-beta1r3
|
||||
RELEASEVER=1.1-beta1r2
|
||||
MAKETARGZ=1
|
||||
MAKEUBIIMG=1
|
||||
# ==== The Process ====
|
||||
|
@ -38,7 +38,6 @@ echo "en_US ISO-8859-1" >> $1/etc/locale.gen
|
|||
chroot $1/ /usr/sbin/locale-gen
|
||||
chroot $1/ /usr/bin/pacman -Scc --noconfirm
|
||||
echo $RELEASEVER > $1/etc/plugbox-version
|
||||
echo "sshd: ALL" >> $1/etc/hosts.allow
|
||||
|
||||
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
|
||||
if [ $MAKETARGZ = 1 ]; then
|
||||
|
|
Loading…
Reference in a new issue