mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/linux-ox820 - continuing to attempt systemd.
This commit is contained in:
parent
9a13830f6a
commit
e887ac25d2
3 changed files with 2619 additions and 18 deletions
|
@ -21,9 +21,11 @@ license=('GPL2')
|
|||
makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage')
|
||||
options=('!strip')
|
||||
source=("linux.tar.gz::https://github.com/${_github_user}/${_github_repo}/tarball/${_github_commitID}"
|
||||
'ox820-to-nand.sh')
|
||||
'ox820-to-nand.sh'
|
||||
'config.nopci')
|
||||
md5sums=('439eda8081b15c2be077da2e63e3d792'
|
||||
'4631c7251cb0d78989dacee31c2f1e6e')
|
||||
'4631c7251cb0d78989dacee31c2f1e6e'
|
||||
'e02140d9797d3838213ecc2ce34d843e')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
|
@ -43,7 +45,7 @@ build() {
|
|||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||
#patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
|
||||
|
||||
cat "${srcdir}/linux/config.nopci" > ./.config
|
||||
cat "${startdir}/config.nopci" > ./.config
|
||||
|
||||
# set extraversion to pkgrel
|
||||
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}-ARCH|" Makefile
|
||||
|
|
2599
core/linux-ox820/config.nopci
Normal file
2599
core/linux-ox820/config.nopci
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2,13 +2,25 @@
|
|||
# arg 2: the old package version
|
||||
|
||||
KERNEL_NAME=-ox820
|
||||
KERNEL_VERSION=2.6.31-1-ARCH
|
||||
KERNEL_VERSION=2.6.31-0-ARCH
|
||||
|
||||
warn_them() {
|
||||
echo "!! Installing uImage !!"
|
||||
echo "NOTICE: You must install /boot/uImage to your appropriate location."
|
||||
echo "- For a Pogoplug V3 using NAND, this means running /boot/ox820-to-nand.sh'"
|
||||
echo " Use '/boot/ox820-to-nand.sh --slot-b' if your NAND slot A is bad/errors."
|
||||
echo "- SATA boot systems, do as appropraite."
|
||||
echo " Most: dd if=/boot/uImage of=/dev/sda1"
|
||||
echo " Rare: /boot/uImage is enough."
|
||||
echo ""
|
||||
echo "WARNING: This MUST be done successfully before rebooting!"
|
||||
}
|
||||
|
||||
post_install () {
|
||||
# updating module dependencies
|
||||
echo ">>> Updating module dependencies. Please wait ..."
|
||||
depmod ${KERNEL_VERSION}
|
||||
warn_them()
|
||||
warn_them
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
@ -22,17 +34,5 @@ post_upgrade() {
|
|||
# updating module dependencies
|
||||
echo ">>> Updating module dependencies. Please wait ..."
|
||||
depmod ${KERNEL_VERSION}
|
||||
warn_them()
|
||||
}
|
||||
|
||||
warn_them() {
|
||||
echo "!! Installing uImage !!"
|
||||
echo "NOTICE: You must install /boot/uImage to your appropriate location."
|
||||
echo "- For a Pogoplug V3 using NAND, this means running /boot/ox820-to-nand.sh'"
|
||||
echo " Use '/boot/ox820-to-nand.sh --slot-b' if your NAND slot A is bad/errors."
|
||||
echo "- SATA boot systems, do as appropraite."
|
||||
echo " Most: dd if=/boot/uImage of=/dev/sda1"
|
||||
echo " Rare: /boot/uImage is enough."
|
||||
echo "WARNING: This MUST be done successfully before rebooting!"
|
||||
|
||||
warn_them
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue