updated scripts

This commit is contained in:
nobodino 2022-02-25 11:14:07 +01:00
parent a05abbf3b0
commit 6ab04052a5
10 changed files with 26 additions and 24 deletions

View file

@ -1,8 +1,8 @@
#!/bin/bash
####################### chroot_sfs.sh #########################################
#
# Copyright 2018, 2019,2020,2021 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2019,2020,2021 "nobodino", Bordeaux, FRANCE
# Copyright 2018, 2022 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
#--------------------------------------------------------------------------
#
# Note: Much of this script is inspired from the LFS manual chapter 5
# Copyright © 1999-2019 Gerard Beekmans and may be
# Copyright © 1999-2022 Gerard Beekmans and may be
# copied under the MIT License.
#
#--------------------------------------------------------------------------

View file

@ -1,8 +1,8 @@
#!/bin/bash
####################### export_variables #################################
#
# Copyright 2018,2019,2020,2021 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018,2019,2020,2021 "nobodino", Bordeaux, FRANCE
# Copyright 2018,2022 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018,2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is

View file

@ -1,7 +1,7 @@
#!/bin/bash
########################## link-tools #############################
#
# Copyright 2021 "nobodino", Bordeaux, FRANCE
# Copyright 2021, 2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
#
# Note: The link_tools procedure of this script is
# inspired from the LFS manual chapter 6.10
# Copyright © 1999-2021 Gerard Beekmans and may be
# Copyright © 1999-2022 Gerard Beekmans and may be
# copied under the MIT License.
#
###################################################################
@ -100,17 +100,17 @@ echo
echo "You can also do it with only one script, by executing the"
echo "following command, there will be 4 steps:"
echo
echo -e "$YELLOW" "time ./sfsbuild list1" "$NORMAL"
echo -e "$YELLOW" "time source sfsbuild list1" "$NORMAL"
echo
echo "Either, you can also do it in one step, by executing the"
echo "following command, it will build the entire system till the end:"
echo
echo -e "$GREEN" "time ./full-sfs" "$NORMAL"
echo -e "$GREEN" "time source full-sfs" "$NORMAL"
echo
echo "Either, you can also build a small slackware system with no X11 system, "
echo "by executing the following command:"
echo
echo -e "$RED" "time ./sfsbuild list0" "$NORMAL"
echo -e "$RED" "time source sfsbuild list0" "$NORMAL"
echo
}

View file

@ -1,8 +1,8 @@
#!/bin/bash
####################### list_generator #################################
#
# Copyright 2018,2019,2020,2021 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018,2019,2020,2021 "nobodino", Bordeaux, FRANCE
# Copyright 2018,2022 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018,2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is

View file

@ -1,8 +1,8 @@
#!/bin/bash
####################### myprofile #########################################
#
# Copyright 2018, 2019,2020,2021 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2019,2020,2021 "nobodino", Bordeaux, FRANCE
# Copyright 2018, 2022 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is

View file

@ -1,8 +1,8 @@
#!/bin/bash
####################### prep-sfs-tools ##################################
#
# Copyright 2018,2019,2020,2021 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018,2019,2020,2021 "nobodino", Bordeaux, FRANCE
# Copyright 2018, 2022 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
#--------------------------------------------------------------------------
#
# Note: Much of this script is inspired from the LFS manual chapter 5
# Copyright © 1999-2019 Gerard Beekmans and may be
# Copyright © 1999-2022 Gerard Beekmans and may be
# copied under the MIT License.
#
#--------------------------------------------------------------------------
@ -100,7 +100,7 @@ echo -e "$GREEN" "cd $SFS/scripts && source ~/.bash_profile" "$NORMAL"
echo
echo "and then: "
echo
echo -e "$BLUE" "./sfs-tools" "$NORMAL"
echo -e "$BLUE" "source sfs-tools" "$NORMAL"
echo && su - sfs
}

View file

@ -1,8 +1,8 @@
#!/bin/bash
####################### sfs-bootstrap ####################################
#
# Copyright 2018,2019,2020,2021 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018,2019,2020,2021 "nobodino", Bordeaux, FRANCE
# Copyright 2018, 2022 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is

View file

@ -145,7 +145,7 @@ copy_src () {
if [[ "$ada_enable" = "yes" ]]
then
case $(uname -m) in
i686 )
* )
if [ -f "$RDIR"/others/gnat-gpl-2014-x86-linux-bin.tar.gz ]; then
cd "$RDIR"/others || exit 1
cp -v "$RDIR"/others/gnat-gpl-2014-x86-linux-bin.tar.gz "$RDIR/d/gcc" || exit 1
@ -211,7 +211,7 @@ chown -fR root:root $SFS/source
fi
echo "then type:"
echo
echo -e "$GREEN" "./chroot_sfs" "$NORMAL"
echo -e "$GREEN" "source chroot_sfs" "$NORMAL"
echo
}
@ -224,6 +224,7 @@ case $(uname -m) in
x86_64)
ada_choice ;;
* )
# building ada with gcc > 9.4.0 doesn't work
echo ;;
esac
#*****************************

View file

@ -95,6 +95,7 @@ PACKNAME=$1
shift
# build the $PACKAGE
cd "$SLACKSRC"/"$SRCDIR"/"$PACKNAME" || exit 1
sed -i -e 's/-fPIC/-fPIC -march=native -flto/' *.SlackBuild
chmod +x "$PACKNAME".SlackBuild
if ! ./"$PACKNAME".SlackBuild
then

View file

@ -1,8 +1,8 @@
#!/bin/bash
####################### export_variables ################################
#
# Copyright 2018, 2019,2020 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2019,2020 "nobodino", Bordeaux, FRANCE
# Copyright 2018, 2022 J. E. Garrott Sr, Puyallup, WA, USA
# Copyright 2018, 2022 "nobodino", Bordeaux, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is