summaryrefslogtreecommitdiffstats
path: root/client/boot-tools/clientstructure/root/InstallSoftware.sh
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-07-06 19:06:37 +0000
committeradv <adv@uma.es>2011-07-06 19:06:37 +0000
commitb74df52dd582db22653dcf1961a7ade8c329581b (patch)
tree90aef33a428156a9c77b3afeb5712af5e55c4a5d /client/boot-tools/clientstructure/root/InstallSoftware.sh
parent5454b9df1af677d1f9fd5994c7735ecfa0767c01 (diff)
version 1.0.2 boot-tools: generador #404
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2129 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/boot-tools/clientstructure/root/InstallSoftware.sh')
-rwxr-xr-xclient/boot-tools/clientstructure/root/InstallSoftware.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/client/boot-tools/clientstructure/root/InstallSoftware.sh b/client/boot-tools/clientstructure/root/InstallSoftware.sh
index 1a3548bc..9472fef9 100755
--- a/client/boot-tools/clientstructure/root/InstallSoftware.sh
+++ b/client/boot-tools/clientstructure/root/InstallSoftware.sh
@@ -6,6 +6,14 @@ export LANGUAGE=C
export LC_ALL=C
export LANG=C
+export OSDISTRIB=$(lsb_release -i | awk -F: '{sub(/\t/,""); print $2}') 2>/dev/null
+#OSCODENAME=$(lsb_release -c | awk -F: '{sub(/\t/,""); print $2}') 2>/dev/null
+export OSCODENAME=$(cat /etc/lsb-release | grep CODENAME | awk -F= '{print $NF}')
+export OSRELEASE=$(uname -a | awk '{print $3}')
+uname -a | grep x86_64 > /dev/null && export OSARCH=amd64 || export OSARCH=i386
+export OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
+
+
dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl
@@ -29,7 +37,9 @@ apt-get -y --force-yes install openssh-server bittornado trickle iptraf screen s
# software disk and filesystem
apt-get -y --force-yes install drbl-ntfsprogs ntfsprogs parted ntfs-3g dosfstools
apt-get -y --force-yes install dmraid dmsetup lvm2 e2fsprogs jfsutils reiserfsprogs xfsprogs unionfs-fuse mhddfs squashfs-tools
-apt-get -y --force-yes install btrfs-tools hfsplus hfsprogs hfsutils nilfs-tools reiser4progs ufsutils
+apt-get -y --force-yes install hfsplus hfsprogs hfsutils nilfs-tools reiser4progs ufsutils
+
+#btrfs-tools
# software cloning
apt-get -y --force-yes install drbl-partimage fsarchiver pv kexec-tools
@@ -44,8 +54,6 @@ apt-get -y --force-yes install drbl-chntpw chntpw ethtool lshw gawk subversion
# software compressor
apt-get -y --force-yes install lzma zip unzip gzip lzop drbl-lzop pigz pbzip2 lbzip2 rzip p7zip-full unzip
-#plymouth
-apt-get install plymouth plymouth-theme-script
#compatibilidad og2
apt-get install python-openssl python