Commit dd65fd77 authored by Bernhard Landauer's avatar Bernhard Landauer
Browse files
parents 02db38b9 0f07f9a5
......@@ -62,3 +62,62 @@ To rebuild listed packages with `pkgver` identical with repo version just bump `
#### todo:
- add option to build complete lists, regardless of repo version
### Install on Ubuntu 20.04
First you need to install **pacman**:
apt install git build-essential cmake libarchive-dev pkg-config libcurl4-openssl-dev libgpgme-dev libssl-dev fakeroot dh-autoreconf libarchive-tools xsltproc gawk
git clone
cd pacman
tar -xvf pacman-$pacver.tar.gz
tar -xvf pacman-contrib-$contribver.tar.gz
cd pacman-$pacver
patch -p1 -i ../pacman-sync-first-option.patch
cd ../pacman-$pacver
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-doc \
--with-scriptlet-shell=/usr/bin/bash \
make V=1
make install
install -m644 pacman.conf.x86_64 /etc/pacman.conf
install -m644 makepkg.conf /etc/
sed -i /etc/makepkg.conf \
-e "s|@CARCH[@]|x86_64|g" \
-e "s|@CHOST[@]|x86_64-pc-linux-gnu|g" \
-e "s|@CARCHFLAGS[@]|-march=x86-64|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.tar.gz
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
make install
Install **manjaro-chrootbuild**:
cd ..
git clone
cd manjaro-chrootbuild
git checkout server
echo "PKGDEST = </pkg/destination>" >> /etc/makepkg.conf
echo "PACKAGER = <packages name> <packager@email>" >> /etc/makepkg.conf
echo "GPGKEY = <keyID>" >> /etc/makepkg.conf
pacman-key --init
cp /etc/chrootbuild/pacman.conf.x86_64 /etc/pacman.conf
sed -i "s/@BRANCH@/unstable/g" /etc/pacman.conf
pacman -Sy manjaro-keyring archlinux-keyring
pacman-key --populate manjaro archlinux
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