Commit 52f1f1c0 authored by Francesco Bonanno's avatar Francesco Bonanno

cleaned the build system + fixed standard build

parent d33a9760
......@@ -10,7 +10,7 @@
# You need live-build package installed and superuser privileges.
BUILD_NUMBER=1
BASEIMG=parrotsec-3.5-armhf-rpi
BASEIMG=parrotsec-standard-3.5-armhf-rpi
IMAGEPREFIX=$(BASEIMG)-$(BUILD_NUMBER)
LOGFILE=$(IMAGEPREFIX).build-log.txt
LOGFILEIMG=$(IMAGEPREFIX).build-log-img.txt
......@@ -71,15 +71,15 @@ clean:
rm -rf .build
if [ -d parrotsec-rpi ]; then \
-sudo umount -l parrotsec-rpi/*; true; \
sudo umount -l parrotsec-rpi/*; true; \
sudo dmsetup remove_all; \
sudo rm -rf parrotsec-rpi; \
-sudo rm -rf rpi-firmware; true; \
sudo rm -rf rpi-firmware; true; \
fi
if [ -f $(IMAGENAME) ]; then \
rm -f $(IMAGENAME)*; \
-sudo umount -l parrotsec-rpi/*; true; \
sudo umount -l parrotsec-rpi/*; true; \
sudo dmsetup remove_all; \
sudo rm -rf parrotsec-rpi rpi-firmware; \
fi
......
## stable repository
deb http://rwth-aachen-euro.archive.parrotsec.org/parrotsec/ parrot main contrib non-free
#deb-src http://rwth-aachen-euro.archive.parrotsec.org/parrotsec/ parrot main contrib non-free
/usr/share/live/build/hooks/normal/0020-create-mtab-symlink.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0040-create-locales-files.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0100-remove-adjtime-configuration.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0110-remove-backup-files.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0120-remove-dbus-machine-id.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0140-remove-log-files.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0160-remove-openssh-server-host-keys.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0170-remove-python-py.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0180-remove-systemd-machine-id.hook.chroot
\ No newline at end of file
#!/bin/sh
set -e
# Remove temporary files
rm -rf /var/cache/man/*
rm -rf /pool
rm -rf /binary
rm -rf /dists
for _DIRECTORY in /tmp /var/tmp
do
rm -rf ${_DIRECTORY}
mkdir -p ${_DIRECTORY}
chmod 1777 ${_DIRECTORY}
done
/usr/share/live/build/hooks/normal/0195-remove-ssl-cert-snakeoil.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0200-remove-udev-persistent-cd-rules.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0300-remove-udev-persistent-net-rules.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0400-update-apt-file-cache.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0410-update-apt-xapian-index.hook.chroot
\ No newline at end of file
/usr/share/live/build/hooks/normal/0430-update-mlocate-database.hook.chroot
\ No newline at end of file
#standard packages
# ! Packages Priority standard
##
#if ARCHITECTURES i386 amd64
firmware-b43legacy-installer
firmware-b43-installer
#endif
#zd1211-firmware
#firmware-linux
#firmware-netxen
#firmware-ralink
#firmware-realtek
#firmware-iwlwifi
#firmware-intelwimax
#firmware-ipw2x00
#firmware-atheros
#firmware-bnx2
#firmware-libertas
#bluez-firmware
#firmware-linux-nonfree
#firmware-brcm80211
#firmware-amd-graphics
#firmware-cavium
#firmware-intel-sound
#firmware-misc-nonfree
#firmware-myricom
#firmware-qlogic
#firmware-samsung
#firmware-siano
#firmware-ti-connectivity
## parrot metapackages
apt-parrot
parrot-core
parrot-interface
parrot-mini
parrot-mate
## other packages
vinagre
etherape
torchat
vlc
galculator
# parrot metapackages
apt-parrot
parrot-core
# provide l10n for everybody
locales-all
console-setup
console-setup-linux
keyboard-configuration
#if ARCHITECTURES armel armhf
# cgpt
# vboot-utils
# vboot-kernel-utils
#endif
#important stuff
cowsay
cryptsetup
ethtool
expect
gdb
git
iw
lvm2
openvpn
parted
gparted
screen
sendemail
snmp
snmpd
suckless-tools
sudo
unrar
upx-ucl
zsh
resolvconf
dnsmasq
zile
mg
#filesystem support
jfsutils
hfsplus
hfsutils
hfsprogs
btrfs-tools
e2fsprogs
dosfstools
mtools
reiser4progs
reiserfsprogs
xfsprogs
xfsdump
# raspberry-pi packages
libraspberrypi0
libraspberrypi-bin
libraspberrypi-dev
libraspberrypi-doc
lxkeymap
raspberrypi-bootloader
raspberrypi-kernel
raspberrypi-kernel-headers
raspberrypi-sys-mods
raspi-copies-and-fills
raspi-gpio
rpi-update
rc-gui
ssh-regen-startup
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