[.gitignore]: add build artifacts

* Ignore images
* Ignore debug files
* Ignore compressed/tarred files
* Ignore libyang, smartmontools, and swig artifacts
* Ignore miscellaneous initramfs-tools artifacts

Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
This commit is contained in:
Lawrence Lee 2019-05-23 21:11:56 +00:00
parent 154a88331d
commit e10ec8c5f5

15
.gitignore vendored
View File

@ -9,6 +9,11 @@ target/
*.deb *.deb
*.changes *.changes
*.buildinfo *.buildinfo
*.tar
*.xz
*.gz
*dbg*
*.img
# Subdirectories in src # Subdirectories in src
src/bash/* src/bash/*
@ -43,6 +48,8 @@ src/libnl3/*
!src/libnl3/Makefile !src/libnl3/Makefile
src/libteam/* src/libteam/*
!src/libteam/Makefile !src/libteam/Makefile
src/libyang/*
!src/libyang/Makefile
src/lldpd/* src/lldpd/*
!src/lldpd/Makefile !src/lldpd/Makefile
!src/lldpd/patch/ !src/lldpd/patch/
@ -59,6 +66,8 @@ src/radvd/*
!src/radvd/patch/ !src/radvd/patch/
src/redis/* src/redis/*
!src/redis/Makefile !src/redis/Makefile
src/smartmontools/*
!src/smartmontools/Makefile
src/snmpd/* src/snmpd/*
!src/snmpd/Makefile !src/snmpd/Makefile
src/sonic-device-data/src/device/ src/sonic-device-data/src/device/
@ -66,6 +75,8 @@ src/sonic-device-data/src/debian/
src/supervisor/* src/supervisor/*
!src/supervisor/Makefile !src/supervisor/Makefile
!src/supervisor/patch/ !src/supervisor/patch/
src/swig/*
!src/swig/Makefile
src/telemetry/debian/* src/telemetry/debian/*
!src/telemetry/debian/changelog !src/telemetry/debian/changelog
!src/telemetry/debian/compat !src/telemetry/debian/compat
@ -109,3 +120,7 @@ src/sonic-config-engine/sonic_config_engine.egg-info
src/sonic-daemon-base/**/*.pyc src/sonic-daemon-base/**/*.pyc
src/sonic-daemon-base/build src/sonic-daemon-base/build
src/sonic-daemon-base/sonic_daemon_base.egg-info src/sonic-daemon-base/sonic_daemon_base.egg-info
# Misc. files
files/initramfs-tools/arista-convertfs
files/initramfs-tools/union-mount