${HVMAKE} -C progs tic
# Install tic
- install -m755 progs/tic /cross-tools/bin
+ install -v -m755 progs/tic /cross-tools/bin
}
fi
EOF
-echo "Installing /etc/DIR_COLORS"
-install -m644 ${SCRDIR}/misc/DIR_COLORS ${LFS}/etc/DIR_COLORS
+install -v -m644 ${SCRDIR}/misc/DIR_COLORS ${LFS}/etc/DIR_COLORS
echo "Creating /etc/inputrc"
cat > ${LFS}/etc/inputrc << "EOF"
mountkernfs rc reboot sendsignals setclock swap udev"
mkdir -p ${LFS}/etc/rc.d/init.d
for bootscript in ${STAGE1_BOOTSCRIPTS}; do
- install -m755 bootscripts/${bootscript} ${LFS}/etc/rc.d/init.d
+ install -v -m755 bootscripts/${bootscript} ${LFS}/etc/rc.d/init.d
done
# Creating runlevels links
make -C src CC="${CC} ${BUILD64}"
make -C src install INSTALL=install ROOT=${LFS}
- install -m644 ${SCRDIR}/misc/inittab ${LFS}/etc
+ install -v -m644 ${SCRDIR}/misc/inittab ${LFS}/etc
}
source ../functions/main
# If not already installed by previous invocation of this script:
-install -m755 ${SCRDIR}/misc/compressdoc /usr/sbin
+install -v -m755 ${SCRDIR}/misc/compressdoc /usr/sbin
# Compressing man pages with bzip2
/usr/sbin/compressdoc --bz2
# Copying boot scripts
STAGE2_BOOTSCRIPTS="ifdown ifup keyboard mountnetfs network syslogd klogd"
for bootscript in ${STAGE2_BOOTSCRIPTS}; do
- install -m755 bootscripts/${bootscript} /etc/rc.d/init.d
+ install -v -m755 bootscripts/${bootscript} /etc/rc.d/init.d
done
# Necessary because bootscript_add_* scripts use ${LFS} when
hvbuild_post()
{
- install -d -m755 /etc/acpi/events
+ install -v -d -m755 /etc/acpi/events
cat > /etc/acpi/events/button-lid << EOF
# When the lid is closed, go into suspend to ram
hvbuild_post()
{
- install -m644 ${SCRDIR}/misc/nanorc /etc
+ install -v -m644 ${SCRDIR}/misc/nanorc /etc
}
hvbuild_post()
{
- install -m755 ${SCRDIR}/misc/udev-create-persistent-net.sh /usr/local/bin
- install -m644 ${SCRDIR}/misc/udev-media-automount.rules /etc/udev/rules.d/10-media-automount.rules
+ install -v -m755 ${SCRDIR}/misc/udev-create-persistent-net.sh /usr/local/bin
+ install -v -m644 ${SCRDIR}/misc/udev-media-automount.rules /etc/udev/rules.d/10-media-automount.rules
}
hvbuild_post()
{
- install -d -m755 /etc/sysconfig/network/ssid
+ install -v -d -m755 /etc/sysconfig/network/ssid
cat > /etc/sysconfig/network/ssid/TEMPLATE << EOF
# This file must be named exactly as your ESSID (case is important)
EOF
make
- install -m 755 wpa_cli wpa_supplicant wpa_passphrase /sbin
- install -m 644 doc/docbook/*8 /usr/man/man8
- install -m 644 doc/docbook/wpa_supplicant.conf.5 /usr/man/man5
+ install -v -m 755 wpa_cli wpa_supplicant wpa_passphrase /sbin
+ install -v -m 644 doc/docbook/*8 /usr/man/man8
+ install -v -m 644 doc/docbook/wpa_supplicant.conf.5 /usr/man/man5
}
hvbuild_post()
{
cd ${LFS_TMP}/${PACKAGE}
- install -m755 bin/collateindex.pl /usr/bin
- install -m644 bin/collateindex.pl.1 /usr/share/man/man1
- install -d -m755 \
+ install -v -m755 bin/collateindex.pl /usr/bin
+ install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1
+ install -v -d -m755 \
/usr/share/sgml/docbook/dsssl-stylesheets-${DOCBOOK_DSSSL_VER}
cp -R * /usr/share/sgml/docbook/dsssl-stylesheets-${DOCBOOK_DSSSL_VER}
install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
hvbuild()
{
cd ${LFS_TMP}/${PACKAGE}
- install -d -m755 /usr/share/xml/docbook/xml-dtd-${DOCBOOK_XML_VER}
- install -d -m755 /etc/xml
+ install -v -d -m755 /usr/share/xml/docbook/xml-dtd-${DOCBOOK_XML_VER}
+ install -v -d -m755 /etc/xml
chown -R root:root .
cp -af docbook.cat *.dtd ent/ *.mod \
/usr/share/xml/docbook/xml-dtd-${DOCBOOK_XML_VER}
EOF
chmod 640 /etc/fcron/fcron.conf
- install -d /var/spool/fcron
+ install -v -d /var/spool/fcron
chown fcron.fcron /var/spool/fcron
cat > /etc/fcron/configure << "EOF"
chmod 740 /usr/local/bin/hvgetdate
# Adding fcrontab entry
- install -m644 ${SCRDIR}/misc/hvgetdate /etc/fcron/fcron.d
+ install -v -m644 ${SCRDIR}/misc/hvgetdate /etc/fcron/fcron.d
}
#if [ ! -f /bin/login.shadow ]; then
# mv -v /bin/login /bin/login.shadow
#fi
- #install -m755 -v /usr/sbin/login.krb5 /bin/login
+ #install -v -m755 /usr/sbin/login.krb5 /bin/login
mv -v /usr/lib/libdes425.so.3* /lib
mv -v /usr/lib/libkrb4.so.2* /lib
mysql_install_db --user=mysql
chgrp mysql /srv/mysql{,/test,/mysql}
- install -m750 -o mysql -g mysql -d /var/run/mysql
+ install -v -m750 -o mysql -g mysql -d /var/run/mysql
# Further configuration requires that the MySQL server be running
# (see cis-postinstall)
string_add "/usr/lib/mysql" /etc/ld.so.conf
# Install Hv configuration script
- install -m644 ${SCRDIR}/misc/hv-config-mysql /usr/local/bin
+ install -v -m644 ${SCRDIR}/misc/hv-config-mysql /usr/local/bin
}
ln -sf libogrove.so /usr/lib/libgrove.so
ln -sf libospgrove.so /usr/lib/libspgrove.so
ln -sf libostyle.so /usr/lib/libstyle.so
- install -m644 dsssl/catalog /usr/share/sgml/${PACKAGE}/
- install -m644 dsssl/*.{dtd,dsl,sgm} /usr/share/sgml/${PACKAGE}
+ install -v -m644 dsssl/catalog /usr/share/sgml/${PACKAGE}/
+ install -v -m644 dsssl/*.{dtd,dsl,sgm} /usr/share/sgml/${PACKAGE}
install-catalog --add /etc/sgml/${PACKAGE}.cat \
/usr/share/sgml/${PACKAGE}/catalog
install-catalog --add /etc/sgml/sgml-docbook.cat \
hvbuild_post()
{
- install -m644 ${SCRDIR}/misc/update-pciids /etc/fcron/fcron.d
+ install -v -m644 ${SCRDIR}/misc/update-pciids /etc/fcron/fcron.d
}
sed -i -e '/ISO 8879/d' \
-e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' \
docbook.cat
- install -d /usr/share/sgml/docbook/sgml-dtd-${SGML_DTD3_VER}
+ install -v -d /usr/share/sgml/docbook/sgml-dtd-${SGML_DTD3_VER}
chown -R root:root .
- install docbook.cat \
+ install -v docbook.cat \
/usr/share/sgml/docbook/sgml-dtd-${SGML_DTD3_VER}/catalog
cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-${SGML_DTD3_VER}
install-catalog --add /etc/sgml/sgml-docbook-dtd-${SGML_DTD3_VER}.cat \
cd ${LFS_TMP}/${PACKAGE}
sed -i -e '/ISO 8879/d' \
-e '/gml/d' docbook.cat
- install -d /usr/share/sgml/docbook/sgml-dtd-${SGML_DTD4_VER}
+ install -v -d /usr/share/sgml/docbook/sgml-dtd-${SGML_DTD4_VER}
chown -R root:root .
- install docbook.cat \
+ install -v docbook.cat \
/usr/share/sgml/docbook/sgml-dtd-${SGML_DTD4_VER}/catalog
cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-${SGML_DTD4_VER}
install-catalog --add /etc/sgml/sgml-docbook-dtd-${SGML_DTD4_VER}.cat \
hvbuild_post()
{
- install -m644 ${SCRDIR}/misc/update-usbids /etc/fcron/fcron.d
+ install -v -m644 ${SCRDIR}/misc/update-usbids /etc/fcron/fcron.d
}
hvbuild_post()
{
- install -m644 ${SCRDIR}/misc/freshclam /etc/fcron/fcron.d
+ install -v -m644 ${SCRDIR}/misc/freshclam /etc/fcron/fcron.d
touch /var/log/clamd.log
chmod 600 /var/log/clamd.log
{
cd ${LFS_TMP}/${PACKAGE}/src
gcc -O9 -s -o cups-pdf cups-pdf.c
- install -m 0700 cups-pdf /usr/lib/cups/backend
+ install -v -m 0700 cups-pdf /usr/lib/cups/backend
cd ${LFS_TMP}/${PACKAGE}
cp extra/cups-pdf.conf /etc/cups
hvbuild_post()
{
- install -m644 ${SCRDIR}/misc/emacs/emacsrc /etc/skel/.emacs
- install -m644 ${SCRDIR}/misc/emacs/emacsrc /root/.emacs
+ install -v -m644 ${SCRDIR}/misc/emacs/emacsrc /etc/skel/.emacs
+ install -v -m644 ${SCRDIR}/misc/emacs/emacsrc /root/.emacs
LOCAL_SITE_LIST=/usr/local/share/emacs/site-lisp
install -v -m644 -d ${LOCAL_SITE_LIST}
- install -m644 ${SCRDIR}/misc/emacs/buffer-cycle.el ${LOCAL_SITE_LIST}
+ install -v -m644 ${SCRDIR}/misc/emacs/buffer-cycle.el ${LOCAL_SITE_LIST}
# Set Emacs as default editor
sed -i -e "s!^\(EDITOR=\).*!\1emacs!" /etc/profile
#chmod 644 /usr/include/libsmbclient.h /usr/lib/samba/libsmbclient.a
chmod 644 /usr/include/libsmbclient.h
- install -m755 nsswitch/libnss_win{s,bind}.so /lib
+ install -v -m755 nsswitch/libnss_win{s,bind}.so /lib
ln -sf libnss_winbind.so /lib/libnss_winbind.so.2
ln -sf libnss_wins.so /lib/libnss_wins.so.2
cp ../examples/smb.conf.default /etc/samba
- install -m644 ../docs/*.pdf /usr/share/samba
+ install -v -m644 ../docs/*.pdf /usr/share/samba
if [ -f nsswitch/pam_winbind.so ]; then
- install -m755 nsswitch/pam_winbind.so /lib/security
+ install -v -m755 nsswitch/pam_winbind.so /lib/security
fi
# Configuring SWAT
hvbuild_post()
{
- install -m 644 -v tools/udev/libsane.rules \
+ install -v -m 644 tools/udev/libsane.rules \
/etc/udev/rules.d/65-scanner.rules
# Addition to /etc/services (for both the client and server)
EOF
chmod 755 /usr/local/bin/hv-sa-learn
- install -m644 ${SCRDIR}/misc/sa-learn /etc/fcron/fcron.d
+ install -v -m644 ${SCRDIR}/misc/sa-learn /etc/fcron/fcron.d
# Add rule to procmailrc...
make lnp
# Installing imapd
- install -m 755 imapd/imapd /usr/bin
- install -m 644 src/imapd/imapd.8 /usr/man/man8/imapd.8
+ install -v -m 755 imapd/imapd /usr/bin
+ install -v -m 644 src/imapd/imapd.8 /usr/man/man8/imapd.8
# Installing mailutil
- install -m 755 mailutil/mailutil /usr/bin
- install -m 644 src/mailutil/mailutil.1 /usr/man/man1/mailutil.1
+ install -v -m 755 mailutil/mailutil /usr/bin
+ install -v -m 644 src/mailutil/mailutil.1 /usr/man/man1/mailutil.1
# Installing dmail
- install -m 755 dmail/dmail /usr/bin
- install -m 644 src/dmail/dmail.1 /usr/man/man1/dmail.1
+ install -v -m 755 dmail/dmail /usr/bin
+ install -v -m 644 src/dmail/dmail.1 /usr/man/man1/dmail.1
# Installing C-library
mkdir -p /usr/lib/uw-imap/{include,lib}
- install -m 644 c-client/c-client.a /usr/lib/uw-imap/lib
+ install -v -m 644 c-client/c-client.a /usr/lib/uw-imap/lib
ln -sf /usr/lib/uw-imap/lib/c-client.a /usr/lib/uw-imap/lib/libc-client.a
- install -m 644 c-client/*.h /usr/lib/uw-imap/include
- install -m 644 src/osdep/tops-20/shortsym.h /usr/lib/uw-imap/include
+ install -v -m 644 c-client/*.h /usr/lib/uw-imap/include
+ install -v -m 644 src/osdep/tops-20/shortsym.h /usr/lib/uw-imap/include
# Addition to xinetd
cat > /etc/xinetd.d/imapd << "EOF"