[elbe-devel] [PATCH v2 2/7] debianreleases: Drop unused file

Bastian Germann bage at linutronix.de
Fri Mar 3 11:34:31 CET 2023


The codename to suite mapping is subject to change frequently.
It is no longer used, so drop it.

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 debian/python3-elbe-buildenv.install |  1 -
 elbepack/debianreleases.py           | 36 ----------------------------
 2 files changed, 37 deletions(-)
 delete mode 100644 elbepack/debianreleases.py

diff --git a/debian/python3-elbe-buildenv.install b/debian/python3-elbe-buildenv.install
index b219e17efc..a1df7365f3 100644
--- a/debian/python3-elbe-buildenv.install
+++ b/debian/python3-elbe-buildenv.install
@@ -20,7 +20,6 @@
 ./usr/lib/python3.*/*-packages/elbepack/finetuning.py
 ./usr/lib/python3.*/*-packages/elbepack/junit.py
 ./usr/lib/python3.*/*-packages/elbepack/cdroms.py
-./usr/lib/python3.*/*-packages/elbepack/debianreleases.py
 ./usr/lib/python3.*/*-packages/elbepack/debpkg.py
 ./usr/lib/python3.*/*-packages/elbepack/rpcaptcache.py
 ./usr/lib/python3.*/*-packages/elbepack/updatepkg.py
diff --git a/elbepack/debianreleases.py b/elbepack/debianreleases.py
deleted file mode 100644
index 100048f7fe..0000000000
--- a/elbepack/debianreleases.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# ELBE - Debian Based Embedded Rootfilesystem Builder
-# Copyright (c) 2014 Torben Hohn <torbenh at linutronix.de>
-# Copyright (c) 2017 Manuel Traut <manut at linutronix.de>
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-
-suite2codename = {'oldoldoldstable': 'jessie',
-                  'oldoldstable': 'stretch',
-                  'oldstable': 'buster',
-                  'stable': 'bullseye',
-                  'testing': 'bookworm',
-                  'unstable': 'sid',
-
-                  'lucid': 'lucid',
-                  'precise': 'precise',
-                  'quantal': 'quantal',
-                  'raring': 'raring',
-                  'saucy': 'saucy',
-                  'trusty': 'trusty',
-                  'utopic': 'utopic',
-                  'vivid': 'vivid',
-                  'wily': 'wily',
-                  'xenial': 'xenial',
-                  'yakkety': 'yakkety',
-                  'zesty': 'zesty',
-                  'artful': 'artful',
-                  'bionic': 'bionic',
-                  'cosmic': 'cosmic',
-                  'focal': 'focal',
-                  'groovy': 'groovy',
-                  'jammy': 'jammy',
-                 }
-
-
-# generate reverse mapping
-codename2suite = {v: k for k, v in suite2codename.items()}
-- 
2.39.2



More information about the elbe-devel mailing list