Versión 1.0.5, #570: Solucionar problema al compilar gptfdisk en el proceso de generación del cliente.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3478 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/master
parent
15184276ea
commit
786da8d003
|
@ -2,13 +2,16 @@
|
||||||
################################################################
|
################################################################
|
||||||
##################### SOFTWARE #####################
|
##################### SOFTWARE #####################
|
||||||
################################################################
|
################################################################
|
||||||
|
OLDLANGUAGE=$LANGUAGE
|
||||||
|
OLDLC_ALL=$LC_ALL
|
||||||
|
OLDLANG=$LANG
|
||||||
export LANGUAGE=C
|
export LANGUAGE=C
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
export LANG=C
|
export LANG=C
|
||||||
|
|
||||||
|
|
||||||
source /opt/opengnsys/lib/engine/bin/ToolsGNU.c &>/dev/null
|
source /opt/opengnsys/lib/engine/bin/ToolsGNU.c &>/dev/null
|
||||||
cd /tmp
|
pushd /tmp
|
||||||
|
|
||||||
echo "ctorrent "
|
echo "ctorrent "
|
||||||
which ctorrent || ctorrent install &>/dev/null
|
which ctorrent || ctorrent install &>/dev/null
|
||||||
|
@ -42,19 +45,21 @@ cp /bin/busybox /bin/busyboxNEW
|
||||||
# en scripts reboot y poweroff hacer llamada a busyboxOLD reboot|poweroff
|
# en scripts reboot y poweroff hacer llamada a busyboxOLD reboot|poweroff
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#gpt
|
#gpt
|
||||||
|
echo "gptfdisk"
|
||||||
apt-get install -y uuid-dev libicu-dev libpopt-dev libpopt0 ncurses-base libncurses5-dev
|
apt-get install -y uuid-dev libicu-dev libpopt-dev libpopt0 ncurses-base libncurses5-dev
|
||||||
wget -O download.tgz http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.8.2/gptfdisk-0.8.2.tar.gz/download
|
wget -O download.tgz http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.8.5/gptfdisk-0.8.5.tar.gz/download -O gptfdisk-0.8.5.tar.gz
|
||||||
mkdir download
|
tar xzvf gptfdisk-0.8.5.tar.gz
|
||||||
tar xzvf download.tgz -C download
|
cd gptfdisk-0.8.5
|
||||||
cd download/gptfdisk-0.8.2
|
|
||||||
make
|
make
|
||||||
cp sgdisk gdisk fixparts cgdisk /sbin
|
cp -va sgdisk gdisk fixparts cgdisk /sbin
|
||||||
cd ..
|
cd ..
|
||||||
rm -fr download*
|
rm -fr gptfdisk-0.8.5*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
popd
|
||||||
|
export LANGUAGE=$OLDLANGUAGE
|
||||||
|
export LC_ALL=$OLDLC_ALL
|
||||||
|
export LANG=$OLDLANG
|
||||||
|
|
||||||
history -c
|
history -c
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue