mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
Minor buildscript changes
This commit is contained in:
parent
1086da6a96
commit
342b0e887b
3 changed files with 12 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=filesystem
|
||||
pkgver=2010.07
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Base filesystem"
|
||||
arch=('arm')
|
||||
license=('GPL')
|
||||
|
@ -42,6 +42,8 @@ build()
|
|||
mkdir -p bin boot dev etc home lib mnt proc root sbin tmp usr var opt srv sys
|
||||
chmod 555 proc
|
||||
mkdir -p usr/{bin,include,lib,sbin,share/misc,src}
|
||||
mkdir -p media
|
||||
touch media/.empty
|
||||
|
||||
mkdir -p usr/share/man/man{1,2,3,4,5,6,7,8}
|
||||
ln -s man3 $pkgdir/usr/share/man/man3x
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Plugbox Linux Distribution Image Builder
|
||||
# Version 0.4.1
|
||||
# Version 0.4.2
|
||||
#
|
||||
# Licensed under the GPLv2.
|
||||
#
|
||||
|
@ -15,10 +15,12 @@
|
|||
# NOTE: This script is interactive.
|
||||
# Agree to installing packages and answer "y" to cleaning the Pacman database.
|
||||
#
|
||||
# NOTE: Make sure the package "mtd-utils" is installed for making UBI images.
|
||||
#
|
||||
# ==== Variables to set ====
|
||||
PLUGSCRIPTDIR=/media/Plugbox/builder/plugapps/scripts/plugscripts
|
||||
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal"
|
||||
RELEASEVER=1.1
|
||||
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal bash tzdata"
|
||||
RELEASEVER=1.1-rc2
|
||||
MAKETARGZ=1
|
||||
MAKEUBIIMG=1
|
||||
# ==== The Process ====
|
||||
|
@ -41,7 +43,7 @@ echo "de_DE@euro ISO-8859-15" >> $1/etc/locale.gen
|
|||
chroot $1/ /usr/sbin/locale-gen
|
||||
chroot $1/ /usr/bin/pacman -Scc --noconfirm
|
||||
echo $RELEASEVER > $1/etc/plugbox-version
|
||||
cp $PLUGSCRIPTDIR $1/usr/share/plugapps/
|
||||
cp -R $PLUGSCRIPTDIR $1/usr/share/plugapps/
|
||||
|
||||
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
|
||||
if [ $MAKETARGZ = 1 ]; then
|
||||
|
|
|
@ -15,13 +15,13 @@
|
|||
|
||||
# ==== SETTINGS ====
|
||||
# Set me to the root of your ABS repository, by default /var/abs
|
||||
ABSDIR=/media/usb/builder/abs
|
||||
ABSDIR=/media/Plugbox/builder/abs
|
||||
|
||||
# Set me to your PlugApps Github clone
|
||||
GITDIR=/media/usb/builder/plugapps
|
||||
GITDIR=/media/Plugbox/builder/plugapps
|
||||
|
||||
# Set me to the directory you want to work in
|
||||
WORKDIR=/media/usb/builder/tmper
|
||||
WORKDIR=/media/Plugbox/builder/tmper
|
||||
|
||||
# Set me to the makepkg command - The default below should work fine
|
||||
MAKEPKGCMD="makepkg --ignorearch --asroot --clean --syncdeps --noconfirm --rmdeps"
|
||||
|
|
Loading…
Reference in a new issue