Commit 5d839ee4 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated bash to 5.0

parent c76d9040
all: bash.profile locale.conf inputrc
tar xf bash-4.4.18.tar.gz
cd bash-4.4.18 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --docdir=/usr/share/doc/bash-4.4.18 --without-bash-malloc --with-installed-readline
$(MAKE) -C bash-4.4.18
tar xf bash-5.0.tar.gz
cd bash-5.0 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --docdir=/usr/share/doc/bash-5.0 --without-bash-malloc --with-installed-readline
$(MAKE) -C bash-5.0
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
cd bash-4.4.18 ; \
cd bash-5.0 ; \
chown -Rv nobody . ; \
su nobody -s /bin/bash -c "PATH=$$PATH make tests" ; \
fi
$(MAKE) -C bash-4.4.18 install
$(MAKE) -C bash-5.0 install
mv -vf /usr/bin/bash /bin
mkdir /etc/bash_completion.d
@echo "$$BASHPROFILE" > /etc/profile
@echo "$$LOCALECONF" > /etc/locale.conf
@echo "$$INPUTRC" > /etc/inputrc
rm -rf bash-4.4.18
rm -rf bash-5.0
bash.profile:
define BASHPROFILE
......
<project name="bash">
<target name="temporary-bash">
<property name="makedir" value="${builddir}/bash-4.4.18"/>
<property name="makedir" value="${builddir}/bash-5.0"/>
<exec executable="tar" failonerror="true">
<arg line="xf packages/bash/bash-4.4.18.tar.gz -C ${builddir}"/>
<arg line="xf packages/bash/bash-5.0.tar.gz -C ${builddir}"/>
</exec>
<echo file="${makedir}/config.cache">ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_strcoll_works=yes
......
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