Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
f2257c7e
Commit
f2257c7e
authored
Nov 28, 2009
by
amnesia
Browse files
adapted config for squeeze
parent
085740ed
Changes
13
Hide whitespace changes
Inline
Side-by-side
config/chroot_apt/apt.conf
View file @
f2257c7e
APT
::
Default
-
Release
"
stable
"
;
APT
::
Default
-
Release
"
testing
"
;
config/chroot_apt/preferences
View file @
f2257c7e
Package: dkms
Pin: release a=lenny-backports
Pin-Priority: 999
Package: firmware-linux
Pin: release a=lenny-backports
Pin-Priority: 999
Package: kvkbd
Pin: release a=lenny-backports
Pin-Priority: 999
Package: libnm-glib0
Pin: release a=lenny-backports
Pin-Priority: 999
Package: network-manager
Pin: release a=lenny-backports
Pin-Priority: 999
Package: network-manager-gnome
Pin: release a=lenny-backports
Pin-Priority: 999
Package: python-pyinotify
Pin: release a=testing
Pin-Priority: 999
Package: python-support
Pin: release a=lenny-backports
Pin-Priority: 999
Package: virtualbox-ose-guest-utils
Pin: release a=lenny-backports
Pin-Priority: 999
Package: virtualbox-ose-guest-x11
Pin: release a=lenny-backports
Pin-Priority: 999
Package: virtualbox-ose-guest-source
Pin: release a=lenny-backports
Pin-Priority: 999
Package: *
Pin: release a=
stable
Pin: release a=
testing
Pin-Priority: 900
Package: *
Pin: release a=lenny-backports
Pin-Priority: 200
Package: *
Pin: release o=Debian
Pin-Priority: -10
config/chroot_local-hooks/50-virtualbox
deleted
100755 → 0
View file @
085740ed
#!/bin/sh
# Including common functions
.
"
${
LH_BASE
:-
/usr/share/live-helper
}
"
/functions.sh
# Setting static variables
DESCRIPTION
=
"
$(
Echo
'building VirtualBox guest modules'
)
"
HELP
=
""
USAGE
=
"
${
PROGRAM
}
"
# Reading configuration files
Read_conffiles config/all config/common config/chroot
Set_defaults
hw_arch
=
"
`
dpkg
--print-architecture
`
"
if
[
"
$hw_arch
"
!=
i386
-a
"
$hw_arch
"
!=
amd64
]
;
then
exit
0
fi
MODULE
=
virtualbox-ose-guest
Echo_message
"Building VirtualBox guest modules"
# the -source package must be installed *after* dkms to be properly registered
apt-get
install
--yes
build-essential dkms dpatch
apt-get
install
--yes
virtualbox-ose-guest-source
# FIXME (IDEA): after installing dkms, but before installing
# virtualbox-ose-guest-source, divert uname to a fake one that reports
# the kernel version found in /boot rather than the build system's one
# (and obviously revert to the real uname afterwards).
#
# => The module should be automatically built by dkms without
# requiring us to do the following.
for
KERNEL
in
/boot/vmlinuz-
*
do
KERNEL_VERSION
=
"
$(
basename
${
KERNEL
}
|
sed
-e
's|vmlinuz-||'
)
"
KERNEL_ARCH
=
"
$(
basename
${
KERNEL
}
|
sed
-e
's|.*-||'
)
"
VBOX_VERSION
=
`
dpkg-query
-W
-f
=
'${Version}'
virtualbox-ose-guest-source |
awk
-F
"-"
'{print $1}'
|
cut
-d
\:
-f2
`
apt-get
install
--yes
linux-headers-2.6-
${
KERNEL_ARCH
}
dkms build
-m
virtualbox-ose-guest
-v
${
VBOX_VERSION
}
-m
${
MODULE
}
-k
${
KERNEL_VERSION
}
dkms
install
-m
virtualbox-ose-guest
-v
${
VBOX_VERSION
}
-m
${
MODULE
}
-k
${
KERNEL_VERSION
}
done
# clean the build directory
rm
-rf
/var/lib/dkms/virtualbox-ose-guest/
# virtualbox-ose-guest-source's postrm script deletes any previously
# built binary module; let's delete it before purging the package.
rm
-f
/var/lib/dpkg/info/virtualbox-ose-guest-source.prerm
# use aptitude to remove the dependencies, as Lenny's APT lacks the
# autoremove action
aptitude
--assume-yes
purge
\
build-essential dkms dpatch dpkg-dev
\
cpp-4.1
\
gcc gcc-4.1 gcc-4.1-base gcc-4.2-base
\
g++
\
virtualbox-ose-guest-source
config/chroot_local-includes/etc/apt/apt.conf.d/00defaultrelease
View file @
f2257c7e
APT::Default-Release "
stable
";
APT::Default-Release "
testing
";
config/chroot_local-packageslists/amnesia-common
View file @
f2257c7e
...
...
@@ -50,7 +50,7 @@ gstreamer0.10-plugins-good
gstreamer0.10-plugins-ugly
icedove
iceweasel
iceweasel-torbutton
/testing
iceweasel-torbutton
iptables
kvkbd
less
...
...
@@ -59,7 +59,7 @@ lvm2
macchanger
msmtp
mutt
mozilla-noscript
/testing
mozilla-noscript
network-manager-gnome
ntfs-3g
ntfsprogs
...
...
@@ -92,7 +92,7 @@ virtualbox-ose-guest-x11
wireless-tools
wipe
xsane
xul-ext-firegpg
/testing
xul-ext-firegpg
### Firmwares
firmware-ipw2x00
...
...
config/chroot_sources/backports.binary
deleted
120000 → 0
View file @
085740ed
backports.chroot
\ No newline at end of file
config/chroot_sources/backports.binary.gpg
deleted
120000 → 0
View file @
085740ed
backports.chroot.gpg
\ No newline at end of file
config/chroot_sources/backports.chroot
deleted
100644 → 0
View file @
085740ed
deb http://www.backports.org/debian lenny-backports main non-free
config/chroot_sources/backports.chroot.gpg
deleted
100644 → 0
View file @
085740ed
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.3 (GNU/Linux)
mQGiBEMIgw4RBADueqAzlq+rQT9JYSSWnNzo6C+9crI8lzW/fcl2Q3PO97MOQTOx
Qsf/lOh0Ku7O+VdBa+BwVPuUkSw6wTY5Ku1y/6r1BQzJ9oHkryDDJXsHzKhpdyFc
/lD4hNGqRkiNg5ulwAI0O1eqffPWDmeR9ZzSsqM40f1U4TNLfPAu1viWxwCgnbWz
onY6RqSYlRsDQaPsNTwieVEEAJeX2FGgNepD1SvfEremAkWCrYYlSZI76iTIf6bd
kGkWqIT0vJyE2MNenhDJ2ebbHJVFmL9x8S3m1daC4Zwnacm7aoCY/QgMJ+Js1Fex
Acev48W9KHgpVbFMd1t8KAwRbmFcQf0C/FZUbE7xScpTxS4z3SsMOuRyfnGpDOi6
m/SnA/9wpquf3pPwbPykzKWNJEDouiJgt0zaFLauKDPeyTWeJ6htaAPDglArewdq
bJ9M8QgLFtzjhg/fBQlRRUk7YP4OYtp1OdP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zKshlcIp6zZr
O0Y3t/+ekBwTTQqEoUylVYkCSt3z6bjpVWbepkL88rbqJnPueTATw9shjbFYaND8
cXZox9tQmlOIZ6gDeH1YvFf7ObRLxULm7C6hwik6agtXWkNABVXSxM6MB4hcP9QC
+FEhK6y/7wC3SyNRBuFujDG1aohJBBgRAgAJBQJDCIMRAhsMAAoJEOqOiyEWuhNs
VVMAoJ1gbL0PHVf7yDwMjO3HuJBErxLdAJ4v9ojJnvJu2yUl4W586soBm+wsLg==
=fBrI
-----END PGP PUBLIC KEY BLOCK-----
config/chroot_sources/squeeze.binary
deleted
120000 → 0
View file @
085740ed
squeeze.chroot
\ No newline at end of file
config/chroot_sources/squeeze.chroot
deleted
100644 → 0
View file @
085740ed
deb http://ftp.fr.debian.org/debian/ squeeze main
config/chroot_sources/torproject.chroot
View file @
f2257c7e
deb http://deb.torproject.org/torproject.org
lenny
main
deb http://deb.torproject.org/torproject.org
squeeze
main
scripts/config
View file @
f2257c7e
...
...
@@ -10,7 +10,7 @@ fi
RUN_LH_CONFIG
=
"lh config noautoconfig"
# init config/ with defaults for the target distribution
$RUN_LH_CONFIG
--distribution
lenny
${
@
}
$RUN_LH_CONFIG
--distribution
squeeze
${
@
}
# set Amnesia's general options
$RUN_LH_CONFIG
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment