修訂 | acedff05fb8d766413626010a00306e30a573134 (tree) |
---|---|
時間 | 2023-05-13 18:39:45 |
作者 | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[LFS] Modify.
@@ -65,8 +65,6 @@ echo 'int main(){}' | $LFS_TGT-gcc -xc - | ||
65 | 65 | readelf -l a.out | grep ld-linux |
66 | 66 | rm -v a.out |
67 | 67 | |
68 | -$LFS/tools/libexec/gcc/$LFS_TGT/$GCCVER/install-tools/mkheaders | |
69 | - | |
70 | 68 | TimeEnd chap5 |
71 | 69 | |
72 | 70 | echo \ \ Removing directory... |
@@ -45,6 +45,12 @@ echo \ \ Making... | ||
45 | 45 | make tooldir=/usr \ |
46 | 46 | 1> $LOG/$CHAP.$TARGET.2_make.log 2>&1 || exit 1 |
47 | 47 | |
48 | +echo \ \ Testing... | |
49 | +make -k check \ | |
50 | + 1> $LOG/$CHAP.$TARGET.3_check.log 2>&1 | |
51 | +grep '^FAIL:' $(find -name '*.log') \ | |
52 | + 1>> $LOG/$CHAP.$TARGET.3_check.log 2>&1 | |
53 | + | |
48 | 54 | echo \ \ Installing... |
49 | 55 | porg -lp $TARGET "make tooldir=/usr install -j1" \ |
50 | 56 | 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
@@ -39,7 +39,7 @@ porg -lp $TARGET "make install" \ | ||
39 | 39 | 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
40 | 40 | |
41 | 41 | porg -lp+ $TARGET "\ |
42 | -ln -svf expect5.45.4/libexpect5.45.4.so /usr/lib" \ | |
42 | +ln -svf $APPNAME$VER/libexpect$VER.so /usr/lib" \ | |
43 | 43 | 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
44 | 44 | |
45 | 45 | TimeEnd chap8 |
@@ -47,8 +47,15 @@ echo \ \ Making... | ||
47 | 47 | make \ |
48 | 48 | 1> $LOG/$CHAP.$TARGET.2_make.log 2>&1 || exit 1 |
49 | 49 | |
50 | +#ulimit -s 32768 | |
51 | +#chown -Rv tester . | |
52 | +#su tester -c "PATH=$PATH make -k check" \ | |
53 | +# 1> $LOG/$CHAP.$TARGET.3_check.log 2>&1 | |
54 | +#../contrib/test_summary \ | |
55 | +# 1>> $LOG/$CHAP.$TARGET.3_check.log 2>&1 | |
56 | + | |
50 | 57 | echo \ \ Installing... |
51 | -porg -lp $TARGET -E`pwd` "make install" \ | |
58 | +porg -lp $TARGET -E$PWD "make install" \ | |
52 | 59 | 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
53 | 60 | #porg -lp+ $TARGET "\ |
54 | 61 | #rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/$VER/include-fixed/bits/" \ |
@@ -148,6 +148,9 @@ cat > /etc/ld.so.conf << "EOF" | ||
148 | 148 | /usr/local/lib |
149 | 149 | /opt/lib |
150 | 150 | |
151 | +# Add an include directory | |
152 | +include /etc/ld.so.conf.d/*.conf | |
153 | + | |
151 | 154 | EOF |
152 | 155 | porg -lp+ $TARGET "touch /etc/ld.so.conf" |
153 | 156 |
@@ -36,6 +36,10 @@ make \ | ||
36 | 36 | #make html \ |
37 | 37 | # 1>> $LOG/$CHAP.$TARGET.2_make.log 2>&1 || exit 1 |
38 | 38 | |
39 | +echo \ \ Testing... | |
40 | +make check \ | |
41 | + 1> $LOG/$CHAP.$TARGET.3_check.log 2>&1 | |
42 | + | |
39 | 43 | echo \ \ Installing... |
40 | 44 | porg -lp $TARGET -E`pwd` "make install" \ |
41 | 45 | 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
@@ -34,6 +34,10 @@ make \ | ||
34 | 34 | #make html \ |
35 | 35 | # 1>> $LOG/$CHAP.$TARGET.2_make.log 2>&1 || exit 1 |
36 | 36 | |
37 | +echo \ \ Testing... | |
38 | +make check \ | |
39 | + 1> $LOG/$CHAP.$TARGET.3_check.log 2>&1 | |
40 | + | |
37 | 41 | echo \ \ Installing... |
38 | 42 | porg -lp $TARGET "make install" \ |
39 | 43 | 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
@@ -39,6 +39,10 @@ make \ | ||
39 | 39 | #make html \ |
40 | 40 | # 1>> $LOG/$CHAP.$TARGET.2_make.log 2>&1 || exit 1 |
41 | 41 | |
42 | +echo \ \ Testing... | |
43 | +make check \ | |
44 | + 1> $LOG/$CHAP.$TARGET.3_check.log 2>&1 | |
45 | + | |
42 | 46 | echo \ \ Installing... |
43 | 47 | porg -lp $TARGET "make install" \ |
44 | 48 | 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
@@ -47,6 +47,7 @@ meson --prefix=/usr \ | ||
47 | 47 | -Dman=false \ |
48 | 48 | -Dmode=release \ |
49 | 49 | -Dpamconfdir=no \ |
50 | + -Ddev-kvm-mode=0660 \ | |
50 | 51 | -Ddocdir=/usr/share/doc/systemd-$VER \ |
51 | 52 | .. \ |
52 | 53 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
@@ -22,7 +22,7 @@ TimeStart | ||
22 | 22 | |
23 | 23 | cd $TARGETDIR |
24 | 24 | |
25 | -tar -xf $DLD/tcl8.6.13-html.tar.gz --strip-components=1 || \ | |
25 | +tar -xf $DLD/$APPNAME$VER-html.tar.gz --strip-components=1 || \ | |
26 | 26 | (echo Document tarball error && exit 1) |
27 | 27 | |
28 | 28 | echo \ \ Configuring... |