Verified Commit 7f8ced37 authored by Dan Johansen's avatar Dan Johansen
Browse files

change some modules to builtin


For PineTab support, change the following modules to builtin:

Goodix-touchscreen
Pinetab-panel
8723CS-wifi/bluetooth
Signed-off-by: Dan Johansen's avatarDan Johansen <strit@manjaro.org>
parent 752c36d1
Pipeline #4030 passed with stage
in 125 minutes and 48 seconds
### Generic CI Template for chrootbuild
#
#
# Usage: chrootbuild [options]
#
# -b <branch> Branch to use:
# (unstable/testing/stable-staging/stable;
# arm-unstable/arm-testing/arm-stable)
# default: unstable / arm-unstable
# -c Start with clean chroot fs
# -h This help
# -i <pkg> Install package(s) to chroot fs
# (for multiple packages repeat -i flag)
# -l <list> List(s) to build
# (for multiple lists repeat -l flag)
# -n Install built pkg to chroot fs
# -p <pkg> Package(s) to build
# (for multiple packages repeat -p flag)
# -r Remove previously built packages in $PKGDEST
# -s Sign package(s)
before_script:
# Install pacman (dependency of chrootbuild)
- echo "$(nproc) CPUs on $(uname -a) in Docker as $(whoami)..."
- apt update
- DEBIAN_FRONTEND=noninteractive apt -y install git build-essential cmake libarchive-dev pkg-config libcurl4-openssl-dev libgpgme-dev libssl-dev fakeroot dh-autoreconf libarchive-tools xsltproc gawk subversion wget sudo
- git clone https://gitlab.manjaro.org/manjaro-arm/packages/core/pacman.git
- export pacver=5.2.2
- export contribver=1.4.0
- cd pacman
- wget https://sources.archlinux.org/other/pacman/pacman-$pacver.tar.gz
- wget https://git.archlinux.org/pacman-contrib.git/snapshot/pacman-contrib-$contribver.tar.gz
- tar -xvf pacman-$pacver.tar.gz
- tar -xvf pacman-contrib-$contribver.tar.gz
- cd pacman-$pacver
- patch -p1 -i ../0002-add-sync-first-option.patch
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc --with-scriptlet-shell=/usr/bin/bash --with-ldconfig=/usr/bin/ldconfig
- make V=1
- make install
- cd ..
- install -m644 pacman.conf /etc/
- install -m644 makepkg.conf /etc/
- sed -i /etc/makepkg.conf -e "s|@CARCH[@]|aarch64|g" -e "s|@CHOST[@]|aarch64-pc-linux-gnu|g" -e "s|@CARCHFLAGS[@]|-march=armv8|g"
- install -m644 etc-pacman.d-gnupg.mount /usr/lib/systemd/system/etc-pacman.d-gnupg.mount
- install -m644 pacman-init.service /usr/lib/systemd/system/pacman-init.service
- cd pacman-contrib-$contribver
- ./autogen.sh
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc
- make
- make install
- useradd -d /builder -m builder
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers"
# Install keyrings
- cd ..
- git clone https://gitlab.manjaro.org/packages/core/manjaro-keyring.git
- cd manjaro-keyring
- install -dm755 /usr/share/pacman/keyrings/
- install -m0644 manjaro.gpg /usr/share/pacman/keyrings/
- install -m0644 manjaro-trusted /usr/share/pacman/keyrings/
- install -m0644 manjaro-trusted /usr/share/pacman/keyrings/
- cd ..
- git clone https://projects.archlinux.org/archlinux-keyring.git
- cd archlinux-keyring
- install -m0644 archlinux.gpg /usr/share/pacman/keyrings/
- install -m0644 archlinux-trusted /usr/share/pacman/keyrings/
- install -m0644 archlinux-revoked /usr/share/pacman/keyrings/
- cd ..
- wget https://archlinuxarm.org/builder/src/archlinuxarm-keyring-20140119.tar.gz
- tar -xvf archlinuxarm-keyring-20140119.tar.gz
- cd archlinuxarm-keyring-20140119
- install -m0644 archlinuxarm.gpg /usr/share/pacman/keyrings/
- install -m0644 archlinuxarm-trusted /usr/share/pacman/keyrings/
- install -m0644 archlinuxarm-revoked /usr/share/pacman/keyrings/
- cd ..
- git clone https://gitlab.manjaro.org/manjaro-arm/packages/core/manjaro-arm-keyring.git
- cd manjaro-arm-keyring
- install -m0644 manjaro-arm.gpg /usr/share/pacman/keyrings/
- install -m0644 manjaro-arm-trusted /usr/share/pacman/keyrings/
- install -m0644 manjaro-arm-revoked /usr/share/pacman/keyrings/
- sed -i /etc/pacman.conf -e "s|@CARCH@|aarch64|g"
- mkdir -p /etc/pacman.d/ && echo 'Server = http://repo.manjaro.org/repo/arm-unstable/$repo/$arch' > /etc/pacman.d/mirrorlist
- pacman-key --init
- pacman-key --populate manjaro archlinux archlinuxarm manjaro-arm
# Install chrootbuild
- cd ..
- git clone https://gitlab.manjaro.org/tools/development-tools/manjaro-chrootbuild
- cd manjaro-chrootbuild
- ./install.sh
- echo "PKGDEST = </pkg/destination>" >> /etc/makepkg.conf
- echo "PACKAGER = Manjaro Build Server <mnjobuild@manjaro.org>" >> /etc/makepkg.conf
- echo "GPGKEY = <keyID>" >> /etc/makepkg.conf
- cp /etc/chrootbuild/pacman.conf.aarch64 /etc/pacman.conf
- sed -i "s/@BRANCH@/arm-unstable/g" /etc/pacman.conf
- rm /dev/null
- mknod -m 666 /dev/null c 2 2
- cd ../..
#- rm -rf pacman
#- install -d $pkgdir/etc/sudoers.d
#- wget https://gitlab.manjaro.org/-/snippets/594/raw/master/gitlab-runner.sh && chmod +x gitlab-runner.sh
#- ./gitlab-runner.sh
#- cat /etc/sudoers.d/gitlab-runner-chrootbuild
#- useradd -m -G wheel,sys,audio,input,video,storage,lp,network,users,power -s /bin/bash gitlab-runner
#- sed -i "s/sudo\ chroot/chroot/g" /usr/lib/manjaro-chrootbuild/util-chroot.sh
#- wget https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-tools/-/raw/master/lib/makepkg && cp makepkg /usr/bin/makepkg && chown 755 /usr/bin/makepkg
package:
tags:
- aarch64
- build-server
script:
# build pkg via chrootbuild
#- su gitlab-runner
- export PKG=${PWD##*/}
- cd ..
- sudo -u builder sudo chrootbuild -cp $PKG
- mv -v ./*.pkg.tar.* $PKG
artifacts:
paths:
- ./*.pkg.tar.*
expire_in: 1 week
......@@ -7,7 +7,7 @@ _srcname=linux-5.13
_kernelname=${pkgbase#linux}
_desc="AArch64 multi-platform"
pkgver=5.13.0
pkgrel=1
pkgrel=2
arch=('aarch64')
url="http://www.kernel.org/"
license=('GPL2')
......@@ -86,7 +86,7 @@ md5sums=('76c60fb304510a7bbd9c838790bc5fe4'
'f79300740a7350d2d24ab5e120831b52'
'979a787cf84bef9c60da78e72ec96550'
'9f1eb855745543ac24b94d90cf759b37'
'2034c6aa8bb036bc314939480b831857'
'aac4d985435552fdd93261d993d65d0b'
'86d4a35722b5410e3b29fc92dae15d4b'
'ce6c81ad1ad1f8b333fd6077d47abdaf'
'3dc88030a8f2f5a5f97266d99b149f77')
......
......@@ -3616,7 +3616,7 @@ CONFIG_TOUCHSCREEN_EGALAX=m
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_EXC3000 is not set
CONFIG_TOUCHSCREEN_FUJITSU=m
CONFIG_TOUCHSCREEN_GOODIX=m
CONFIG_TOUCHSCREEN_GOODIX=y
# CONFIG_TOUCHSCREEN_HIDEEP is not set
# CONFIG_TOUCHSCREEN_HYCON_HY46XX is not set
CONFIG_TOUCHSCREEN_ILI210X=m
......@@ -5796,7 +5796,7 @@ CONFIG_DRM_PANEL_SIMPLE=m
CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02=m
CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D=m
# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set
CONFIG_DRM_PANEL_ILITEK_ILI9881C=m
CONFIG_DRM_PANEL_ILITEK_ILI9881C=y
# CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set
# CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set
CONFIG_DRM_PANEL_KHADAS_TS050=m
......@@ -7624,7 +7624,7 @@ CONFIG_BCM2835_VCHIQ_MMAL=m
# CONFIG_WFX is not set
# CONFIG_SPMI_HISI3670 is not set
# CONFIG_MFD_HI6421_SPMI is not set
CONFIG_RTL8723CS=m
CONFIG_RTL8723CS=y
# CONFIG_GOLDFISH is not set
CONFIG_CHROME_PLATFORMS=y
CONFIG_CHROMEOS_TBMC=m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment