From b095bcfdd1a10586191bee91b3e562590219a162 Mon Sep 17 00:00:00 2001 From: Yue Tao Date: Sun, 5 Feb 2023 21:23:35 -0800 Subject: [PATCH] debian-image.inc: remove dependencies Only packages supplying top level commands and services need be listed. Remove the dependencies, which are resolved automatically by "apt install". Test Plan: Pass: build 2 images with/without the patch Pass: boot up the images Pass: no difference of dpkg -l Story: 2008862 Task: 47282 Signed-off-by: Yue Tao Change-Id: I4669ab248001787da1235748b7c27f6191903a73 --- build-tools/stx/debian-image.inc | 781 +------------------------------ 1 file changed, 4 insertions(+), 777 deletions(-) diff --git a/build-tools/stx/debian-image.inc b/build-tools/stx/debian-image.inc index e870a3e9..41713a90 100644 --- a/build-tools/stx/debian-image.inc +++ b/build-tools/stx/debian-image.inc @@ -1,96 +1,51 @@ acl -acpid acpi-support-base -adduser -alembic ansible apache2 -apache2-bin -apache2-data -apache2-utils -apparmor apparmor-utils -apt apt-utils auditd -augeas-lenses -avahi-daemon -base-files bash-completion bc bind9-dnsutils bind9-host -bind9-libs -binutils -binutils-common -binutils-x86-64-linux-gnu bsdextrautils bsdutils busybox -bzip2 -ca-certificates cdebconf cloud-init cluster-glue collectd -collectd-core conntrack conntrackd -coreutils -cpio -cpp-10 cracklib-runtime cron cryptsetup-bin curl dash dbconfig-common -dbus dbus-user-session dconf-gsettings-backend -dconf-service -debconf debconf-i18n -debian-archive-keyring -debianutils -debugedit diffutils -dirmngr -distro-info-data -dmidecode dnf -dnf-data docker.io -docutils-common dosfstools -dpkg e2fsprogs efibootmgr eject elfutils -erlang-asn1 erlang-base -erlang-crypto erlang-eldap -erlang-ftp erlang-inets -erlang-mnesia erlang-os-mon erlang-parsetools -erlang-public-key -erlang-runtime-tools -erlang-snmp -erlang-ssl erlang-syntax-tools -erlang-tftp erlang-tools erlang-xmerl -ethtool expect fdisk -file findutils -firmware-amd-graphics firmware-ath9k-htc firmware-atheros firmware-bnx2 @@ -100,10 +55,7 @@ firmware-cavium firmware-intel-sound firmware-iwlwifi firmware-libertas -firmware-linux-free -firmware-linux-nonfree firmware-linux -firmware-misc-nonfree firmware-myricom firmware-netronome firmware-netxen @@ -113,838 +65,186 @@ firmware-realtek firmware-samsung firmware-siano flake8 -fontconfig -fontconfig-config fonts-dejavu-core -fonts-font-awesome -fonts-glyphicons-halflings -fonts-lato -fonts-materialdesignicons-webfont -fonts-roboto-fontface -freeipmi-common -gawk gcc-10 -gcc-10-base gcc-9-base -gdisk genisoimage gettext-base -gir1.2-glib-2.0 -glib-networking -glib-networking-common -glib-networking-services gnupg -gnupg-l10n -gnupg-utils -gpg -gpg-agent -gpgconf -gpgsm -gpgv -gpg-wks-client -gpg-wks-server grep -groff-base -gsettings-desktop-schemas gunicorn gzip hdparm -hiera hostname -ieee-data ifenslave -ifupdown init initramfs-tools -initramfs-tools-core -init-system-helpers install-info iperf3 ipmitool -iproute2 -iptables iptables-persistent ipxe-qemu iscsiuio -iso-codes isomd5sum kbd -keyutils -klibc-utils -kmod -kpartx less -libacl1 -libaio1 libapache2-mod-wsgi-py3 -libapparmor1 -libapr1 -libaprutil1 libaprutil1-dbd-sqlite3 -libaprutil1-ldap -libapt-pkg6.0 -libarchive13 -libargon2-1 -libasan6 -libasm1 -libassuan0 -libatomic1 -libattr1 -libaudit1 -libaudit-common -libaugeas0 -libauparse0 -libavahi-client3 -libavahi-common3 -libavahi-common-data -libavahi-core7 libavahi-glib1 libbabeltrace1 -libbasicobjects0 -libbinutils libblas3 -libblkid1 libbluetooth3 libboost-context1.74.0 -libboost-filesystem1.74.0 libboost-iostreams1.74.0 -libboost-locale1.74.0 -libboost-log1.74.0 -libboost-nowide1.74.0 -libboost-program-options1.74.0 libboost-python1.74.0 libboost-regex1.74.0 -libboost-thread1.74.0 -libbpf0 -libbrotli1 -libbsd0 -libbson-1.0-0 -libbz2-1.0 libc6 libc6-dev libcacard0 -libcairo2 -libcap2 -libcap2-bin libcapstone4 -libcap-ng0 -libc-ares2 -libc-bin -libcbor0 -libcc1-0 -libc-dev-bin -libc-l10n -libcollection4 -libcom-err2 -libcomps0 -libcpp-hocon0.3.0 -libcpupower1 -libcrack2 libcrypt1 -libcrypt-dev -libcryptsetup12 -libctf0 -libctf-nobfd0 -libcups2 -libcurl3-gnutls -libcurl4 -libdaemon0 -libdatrie1 -libdaxctl1 -libdb5.3 -libdbi1 -libdbus-1-3 -libdconf1 libdebconfclient0 -libdebian-installer4 -libdhash1 -libdnf2 -libdnf2-common libdns-export1110 -libdouble-conversion3 -libdrm2 -libdrm-common -libdw1 -libedit2 -libefiboot1 -libefivar1 libeinfo1 -libelf1 -libepoxy0 -libestr0 -libevent-2.1-7 -libexecs0 -libexpat1 -libexpat1-dev -libext2fs2 libfam0 -libfastjson4 -libfdisk1 -libfdt1 -libffi7 -libfido2-1 -libfontconfig1 -libfreeipmi17 -libfreetype6 -libfribidi0 -libfstrm0 libfuse2 -libgbm1 -libgc1 -libgcc-10-dev libgcc-s1 -libgcrypt20 -libgdbm6 -libgdbm-compat4 libgeoip1 libgfapi0 -libgfortran5 -libgfrpc0 -libgfxdr0 -libgirepository-1.0-1 -libglib2.0-0 -libglusterfs0 -libgmp10 -libgnutls30 -libgomp1 libgoogle-perftools4 -libgpg-error0 -libgpgme11 -libgpm2 -libgraphite2-3 -libgstreamer1.0-0 -libgstreamer-plugins-base1.0-0 -libgssapi-krb5-2 -libharfbuzz0b -libhogweed6 -libibverbs1 -libice6 -libicu67 -libidn2-0 -libini-config5 -libinih1 -libip4tc2 -libip6tc2 -libipa-hbac0 -libiperf0 libiscsi7 -libisc-export1105 -libisl23 -libisns0 -libitm1 -libivykis0 -libjansson4 -libjpeg62-turbo -libjs-angular-file-upload -libjs-angular-gettext -libjs-angularjs -libjs-angularjs-smart-table -libjs-angular-schema-form -libjs-bootstrap -libjs-bootswatch -libjs-d3 -libjs-jquery libjs-jquery-cookie -libjs-jquery-metadata -libjs-jquery.quicksearch -libjs-jquery-tablesorter -libjs-jquery-ui -libjs-jsencrypt -libjs-lrdragndrop -libjs-magic-search -libjs-objectpath -libjson-c5 -libjs-rickshaw -libjs-sphinxdoc -libjs-spin.js -libjs-term.js -libjs-tv4 -libjs-twitter-bootstrap-datepicker -libjs-underscore -libk5crypto3 -libkeyutils1 -libklibc -libkmod2 -libkrb5-3 -libkrb5support0 -libksba8 liblapack3 -liblbfgsb0 -libldb2 -libleatherman1.12.1 libleveldb1d -libllvm11 -liblmdb0 -liblocale-gettext-perl liblognorm5 -liblrm2 -liblsan0 -libltdl7 -liblua5.2-0 -liblua5.3-0 -liblz4-1 -liblzma5 -libmagic1 -libmagic-mgc -libmariadb3 -libmaxminddb0 -libmd0 libmm-glib0 -libmnl0 -libmodulemd2 -libmongoc-1.0-0 -libmongocrypt0 -libmount1 -libmpc3 -libmpdec3 -libmpfr6 -libncurses6 -libncursesw6 libndctl6 libndp0 -libnet1 libnetcf1 -libnetfilter-conntrack3 -libnetfilter-cthelper0 -libnetfilter-queue1 libnet-ntp-perl -libnettle8 -libnewt0.52 -libnfnetlink0 libnfs13 -libnfsidmap2 -libnftables1 -libnftnl11 -libnghttp2-14 -libnl-3-200 -libnl-cli-3-200 -libnl-genl-3-200 -libnl-nf-3-200 -libnl-route-3-200 libnm0 -libnorm1 -libnpth0 -libnsl2 -libnsl-dev -libnspr4 -libnss3 libnss-cache libnss-mdns libnss-sss -libnuma1 liboath0 libodbc1 libopendbx1 -libopenhpi3 -libopenipmi0 -libopeniscsiusr -libopts25 -libopus0 -liborc-0.4-0 -libp11-kit0 -libpam0g -libpam-modules -libpam-modules-bin -libpam-pwquality -libpam-runtime libpam-sss -libpango-1.0-0 -libpangocairo-1.0-0 -libpangoft2-1.0-0 -libpath-utils1 -libpcap0.8 -libpci3 libpciaccess0 -libpcre2-8-0 -libpcre3 -libpcsclite1 -libperl5.32 -libpgm-5.3-0 -libpils2 -libpipeline1 -libpixman-1-0 -libplumb2 -libplumbgpl2 -libpng16-16 -libpolkit-agent-1-0 -libpolkit-gobject-1-0 -libpopt0 -libpq5 -libprocps8 -libprotobuf-c1 -libproxy1v5 -libpsl5 -libpwquality1 -libpwquality-common -libpython3.9 -libpython3.9-dev -libpython3.9-minimal -libpython3.9-stdlib -libpython3-dev -libpython3-stdlib -libquadmath0 librabbitmq4 -librdkafka1 -librdmacm1 -libreadline8 -libref-array1 -librepo0 -librpm9 -librpmbuild9 -librpmio9 -librpmsign9 -librrd8 -librte-eal21 -librte-ethdev21 -librte-kvargs21 -librte-mbuf21 -librte-mempool21 -librte-meter21 librte-vhost21 -librte-telemetry21 -librte-net21 -librte-ring21 -librte-cryptodev21 -librte-hash21 -librte-pci21 -librte-rcu21 -librtmp1 -libruby2.7 libsanlock-client1 -libsasl2-2 -libsasl2-modules-db -libsctp1 -libseccomp2 libsecret-1-0 -libsecret-common -libselinux1 -libsemanage1 -libsemanage-common -libsensors5 -libsensors-config -libsepol1 -libsgutils2-2 -libsigsegv2 -libslang2 libslirp0 -libsm6 -libsmartcols1 -libsmbclient -libsnappy1v5 -libsnmp40 -libsnmp-base -libsodium23 -libsolv1 -libsolvext1 libsoup2.4-1 libspice-server1 -libsqlite3-0 -libss2 -libssh2-1 libssh-4 -libssl1.1 -libsss-certmap0 -libsss-idmap0 -libsss-nss-idmap0 -libstdc++6 -libstonith1 -libstrongswan -libtalloc2 -libtasn1-6 -libtcl8.6 -libtcmalloc-minimal4 -libtdb1 -libteam5 -libteamdctl0 libteam-utils -libtevent0 -libtext-charwidth-perl -libtext-iconv-perl -libtextwrap1 -libtext-wrapi18n-perl -libthai0 -libthai-data -libtimedate-perl -libtinfo6 -libtirpc3 -libtirpc-common -libtirpc-dev -libtsan0 -libubsan1 -libuchardet0 -libudev1 libunbound8 -libunistring2 -libunwind8 -liburcu6 liburing1 libusb-1.0-0 libusbredirparser1 -libutempter0 -libuuid1 -libuv1 libvdeplug2 libvirglrenderer1 -libwayland-server0 -libwbclient0 -libwrap0 -libx11-6 -libx11-data -libxau6 -libxcb1 -libxcb-render0 -libxcb-shm0 -libxdmcp6 -libxext6 -libxml2 -libxmlsec1 -libxmlsec1-openssl -libxmu6 -libxrender1 -libxslt1.1 -libxt6 -libxtables12 -libxxhash0 libyajl2 -libyaml-0-2 -libyaml-cpp0.6 -libz3-4 -libzmq5 -libzstd1 -linux-base linux-cpupower -locales locales-all -login logrotate -logsave -lsb-release lsof -mailcap man-db -mariadb-common mawk mdadm -media-types memcached -mime-support -mksh mokutil -mount multipath-tools -mysql-common nano -ncat ncurses-base ncurses-bin -netbase netcat-openbsd -netfilter-persistent -nfs-common nfs-kernel-server nftables ntp ntpdate nvme-cli open-iscsi -openssh-client openssh-server -openssh-sftp-server -openssl original-awk ovmf -passwd -pci.ids pciutils -perl -perl-base -perl-modules-5.32 pinentry-curses pipexec -policykit-1 postgresql-13 -postgresql-client-13 -postgresql-client-common -postgresql-common -procps psmisc puppet-module-adrienthebo-filemapper puppet-module-asciiduck-sssd puppet-module-barbican -puppet-module-camptocamp-kmod puppet-module-duritong-sysctl -puppet-module-puppetlabs-apache -puppet-module-puppetlabs-apt -puppet-module-puppetlabs-concat -puppet-module-puppetlabs-firewall -puppet-module-puppetlabs-inifile puppet-module-puppetlabs-mount-core -puppet-module-puppetlabs-translate puppet-module-saz-memcached puppet-module-voxpupuli-collectd puppet-module-vswitch pv -pycadf-common -python3 -python3.9 -python3.9-dev -python3.9-minimal -python3-alabaster -python3-alembic -python3-amqp python3-amqplib -python3-aniso8601 -python3-anyjson -python3-apparmor -python3-appdirs -python3-attr -python3-babel -python3-bcrypt -python3-binary-memcached -python3-blinker python3-boto3 -python3-botocore -python3-bs4 -python3-bson -python3-cachetools -python3-calmjs -python3-calmjs.parse -python3-calmjs.types python3-castellan -python3-certifi -python3-cffi -python3-cffi-backend -python3-chardet python3-cherrypy3 -python3-click -python3-cliff -python3-cmd2 -python3-colorama -python3-configobj -python3-configshell-fb -python3-confluent-kafka python3-contextlib2 python3-coverage -python3-cryptography -python3-csscompressor python3-daemon -python3-dateutil -python3-dbus -python3-debtcollector -python3-decorator -python3-defusedxml -python3-deprecation python3-dev -python3-distutils -python3-django -python3-django-appconf -python3-django-compressor python3-django-debreach python3-django-pyscss -python3-dnf -python3-dnspython -python3-docutils -python3-dogpile.cache -python3-editor -python3-elementpath python3-enmerkar -python3-eventlet -python3-extras python3-falcon -python3-fasteners python3-fixtures -python3-flake8 -python3-flask python3-flask-restful -python3-future -python3-futurist -python3-gi -python3-google-auth -python3-gpg -python3-greenlet -python3-gunicorn -python3-hawkey -python3-html5lib -python3-httplib2 -python3-idna -python3-imagesize -python3-importlib-metadata -python3-importlib-resources python3-ipaddr -python3-iso8601 -python3-itsdangerous -python3-jeepney -python3-jinja2 -python3-jmespath -python3-joblib -python3-jsonpatch -python3-json-pointer -python3-jsonschema -python3-jwt -python3-keystoneauth1 python3-keystonemiddleware -python3-kombu python3-kubernetes -python3-ldap python3-ldap3 python3-ldappool -python3-ldb -python3-lib2to3 -python3-libapparmor -python3-libcomps -python3-libdnf -python3-linecache2 -python3-linux-procfs -python3-lockfile -python3-logutils -python3-lxml python3-lz4 -python3-mako -python3-markupsafe -python3-mccabe python3-mechanize -python3-memcache -python3-migrate -python3-mimeparse -python3-minimal -python3-monotonic -python3-more-itertools -python3-msgpack -python3-munch python3-mysqldb -python3-nacl -python3-netaddr -python3-netifaces -python3-numpy -python3-oauthlib -python3-openssl -python3-openstacksdk python3-os-client-config -python3-oslo.cache -python3-oslo.concurrency python3-oslo.config -python3-oslo.context python3-oslo.db -python3-oslo.i18n python3-oslo.log -python3-oslo.middleware python3-oslo.policy python3-oslo.rootwrap -python3-oslo.serialization -python3-oslo.service python3-oslo.upgradecheck -python3-oslo.utils python3-oslo.versionedobjects python3-osprofiler -python3-os-service-types -python3-packaging python3-paramiko python3-parted python3-passlib -python3-paste -python3-pastedeploy python3-pastescript -python3-pbr python3-pecan python3-pexpect python3-pip -python3-pkg-resources -python3-ply -python3-prettytable python3-psutil -python3-psycopg2 -python3-ptyprocess -python3-pyasn1 -python3-pyasn1-modules -python3-pycadf -python3-pycodestyle -python3-pycparser -python3-pycryptodome python3-pyelftools -python3-pyflakes python3-pyghmi -python3-pygments -python3-pyinotify python3-pymongo -python3-pymysql -python3-pyparsing -python3-pyperclip -python3-pyrsistent python3-pysaml2 -python3-pyscss -python3-pyudev python3-q-text-as-data -python3-rcssmin python3-redis -python3-repoze.lru -python3-repoze.who -python3-requests -python3-requestsexceptions -python3-requests-oauthlib python3-requests-toolbelt -python3-responses python3-retrying -python3-rfc3986 -python3-rjsmin -python3-roman -python3-routes -python3-rpm -python3-rsa -python3-rtslib-fb python3-ruamel.yaml -python3-ruamel.yaml.clib -python3-s3transfer python3-scapy -python3-scipy python3-scrypt -python3-secretstorage python3-semantic-version python3-sh -python3-simplegeneric python3-simplejson -python3-singledispatch -python3-six python3-sklearn -python3-sklearn-lib -python3-snowballstemmer python3-sortedcontainers -python3-soupsieve -python3-sphinx -python3-sqlalchemy -python3-sqlparse -python3-sss -python3-statsd -python3-stevedore python3-swiftclient -python3-talloc -python3-tempita -python3-tenacity -python3-testresources -python3-testscenarios python3-testtools -python3-threadpoolctl -python3-traceback2 -python3-tz -python3-uhashring python3-ujson -python3-unittest2 -python3-urllib3 -python3-urwid -python3-vine -python3-waitress python3-warlock -python3-wcwidth -python3-webencodings -python3-webob -python3-websocket python3-websockify -python3-webtest -python3-werkzeug -python3-wheel -python3-wrapt -python3-xmlschema -python3-xstatic -python3-xstatic-angular python3-xstatic-angular-bootstrap python3-xstatic-angular-fileupload python3-xstatic-angular-gettext @@ -958,7 +258,6 @@ python3-xstatic-d3 python3-xstatic-font-awesome python3-xstatic-hogan python3-xstatic-jasmine -python3-xstatic-jquery python3-xstatic-jquery-migrate python3-xstatic-jquery.quicksearch python3-xstatic-jquery.tablesorter @@ -968,122 +267,50 @@ python3-xstatic-magic-search python3-xstatic-mdi python3-xstatic-objectpath python3-xstatic-rickshaw -python3-xstatic-roboto-fontface python3-xstatic-smart-table python3-xstatic-spin python3-xstatic-term.js -python3-xstatic-tv4 -python3-yaml -python3-yappi -python3-zipp -python3-zmq -python3-zope.interface -python-babel-localedata python-is-python3 -python-pastedeploy-tpl -python-pip-whl qemu -rake -readline-common redfishtool rng-tools -rng-tools-debian -rpcbind -rpm2cpio rpm -rpm-common rsync -ruby -ruby2.7 -ruby-augeas -ruby-deep-merge -rubygems-integration ruby-json -ruby-minitest -ruby-net-telnet -ruby-power-assert -ruby-rubygems -ruby-shadow -ruby-test-unit -ruby-xmlrpc -runit-helper -samba-libs -seabios screen -sed -sensible-utils -sg3-utils -sg3-utils-udev -sgml-base +seabios smartmontools socat spectre-meltdown-checker -sphinx-common -sphinx-rtd-theme-common -sqlite3 -sshpass -ssl-cert -ssg-base ssg-debian +sshpass sssd -sssd-ad -sssd-ad-common -sssd-common -sssd-ipa -sssd-krb5 -sssd-krb5-common -sssd-ldap -sssd-proxy sssd-tools startpar strace strongswan -strongswan-charon -strongswan-libcharon -strongswan-starter sudo-ldap -syslog-ng -syslog-ng-core -syslog-ng-mod-mongodb -syslog-ng-mod-sql syslinux-utils -sysvinit-utils +syslog-ng sysstat -tar +sysvinit-utils targetcli-fb tasksel tasksel-data -tcl8.6 -tcl-expect tcpdump time -tini traceroute tuned -tzdata -ucf udhcpc unzip -util-linux -uuid-runtime -uwsgi-core uwsgi-plugin-apparmor uwsgi-plugin-python3 vim -vim-common -vim-runtime vim-tiny -virt-what vlan w3m wget whiptail -x11-common xclip xfsprogs -xml-core -xmlsec1 -xxd zip -zlib1g -zlib1g-dev