- roopwn: Pacman wrapper with ELF dependency checking
- makeaur: Builds source package with AURINFO and signature
Posix shell script to install Arch Linux packages. Does not use chroot or require any Arch programs to be installed on the host, so the host may be a different operating system or architecture.
Run “pkgbundle help” for a list of options.
Python implementation of Linux’s depmod program.
Python script to build an Arch Linux initial ramdisk without using chroot or target programs.
Currently very hacky, brittle, incomplete, minimal, etc. Probably best to avoid use with real host root privileges; try “fakeroot” instead.
To install basic system into a directory $DESTDIR:
DBPATH="$DESTDIR/var/lib/pacman" CACHEDIR="$DESTDIR/var/cache/pacman" \
./pkgbundle fs "$DESTDIR" fs-sudo \
repo 'http://mirrors.kernel.org/archlinux/core/os/$arch/core.db' \
repo 'http://mirrors.kernel.org/archlinux/extra/os/$arch/extra.db' \
install base
See https://www.archlinux.org/mirrorlist/ for repository URLs. Both the “core” and “extra” repositories may be needed to install all the dependencies of the “base” group. The $repo variable from the mirror list has to be manually substituted, and $repo.db appended, for each repository, however $arch may be retained.
Emulate the “depmod” and “mkinitcpio” calls from the post_install() script of the “linux” package as follows. (The install script should be in $DESTDIR/var/spool/pkgbundle/install/linux or at https://projects.archlinux.org/svntogit/packages.git/tree/trunk/linux.install?h=packages/linux.) The “depmod” files installed with the Linux package refer to module file names ending with “.ko”, but the actual file names end with “.ko.gz”.
. "$DESTDIR/var/spool/pkgbundle/install/linux" # Get $KERNEL_VERSION
./depmod --basedir "$DESTDIR" "$KERNEL_VERSION"
./mkinitcpio "$DESTDIR" --preset linux