mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-11-01 09:21:11 +03:00
6b795c99e0
DEVPATH=/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6 SUBSYSTEM=block ... ID_FS_USAGE=filesystem ID_FS_TYPE=ext3 ID_FS_VERSION=1.0 ... FSTAB_NAME=/dev/disk/by-id/scsi-SATA_ST910021AS_3MH0Y3KF-part6 FSTAB_DIR=/home/kay/work FSTAB_TYPE=ext3 FSTAB_OPTS=defaults FSTAB_FREQ=1 FSTAB_PASSNO=1
39 lines
858 B
Bash
Executable File
39 lines
858 B
Bash
Executable File
#/bin/sh
|
|
|
|
EXTRAS="\
|
|
extras/path_id \
|
|
extras/scsi_id \
|
|
extras/ata_id \
|
|
extras/volume_id \
|
|
extras/usb_id \
|
|
extras/cdrom_id \
|
|
extras/edd_id \
|
|
extras/floppy \
|
|
extras/firmware \
|
|
extras/collect \
|
|
extras/rule_generator \
|
|
extras/fstab_import"
|
|
|
|
# with debug
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|
|
make all -j4 $MAKEOPTS DEBUG=true EXTRAS="$EXTRAS" || exit
|
|
echo -e "\n\n"
|
|
|
|
# without any logging
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|
|
make all $MAKEOPTS USE_LOG=false EXTRAS="$EXTRAS" || exit
|
|
echo -e "\n\n"
|
|
|
|
# install in temporary dir and show it
|
|
TEMPDIR="`pwd`/.tmp"
|
|
rm -rf $TEMPDIR
|
|
mkdir $TEMPDIR
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|
|
make all $MAKEOPTS DESTDIR="$TEMPDIR" EXTRAS="$EXTRAS" || exit
|
|
make install DESTDIR="$TEMPDIR" EXTRAS="$EXTRAS" || exit
|
|
echo -e "\nInstalled tree:"
|
|
find $TEMPDIR
|
|
rm -rf $TEMPDIR
|
|
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|