Hello, ./debian/bin/genorig.py -V 6.2-rc2 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
downloads the correct kernel version but then all the rest of README.source instructions try to build the older version ... why ? On Tue, 2023-01-03 at 17:04 +0100, xevilstar wrote: > Package: linux-source > Version: 6.1.2-1~exp1 > Severity: wishlist > X-Debbugs-Cc: vmxevils...@gmail.com > > Dear Maintainer, > > > I am trying to upload a new kernel source > I tried the debfiles of an old version but I cannot find where it has > the version number hardcoded > > ./debian/bin/genorig.py > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > Using source name linux, version 6.1.2, dfsg 0 > Cloning into bare repository 'debian/genorigxct60re5/git'... > warning: Could not find remote branch v6.1.2 to clone. > fatal: Remote branch v6.1.2 not found in upstream origin > Traceback (most recent call last): > File "/usr/src/linux-6.2-rc2/./debian/bin/genorig.py", line 169, in > <module> > Main(args[0], options.override_version)() > File "/usr/src/linux-6.2-rc2/./debian/bin/genorig.py", line 48, in > __call__ > subprocess.run( > File "/usr/lib/python3.11/subprocess.py", line 571, in run > raise CalledProcessError(retcode, process.args, > subprocess.CalledProcessError: Command '['git', 'clone', '--bare', '- > -depth=1', '-b', 'v6.1.2', > 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git', > 'debian/genorigxct60re5/git']' returned non-zero exit status 128. > > I wish I can generate the orig of the kernel I have downloaded from > kernel.org > > > > -- System Information: > Debian Release: bookworm/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (1, > 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 6.2.0-rc2 (SMP w/16 CPU threads; PREEMPT) > Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, > TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages linux-source depends on: > ii linux-source-6.1 6.1.2-1~exp1 > > linux-source recommends no packages. > > linux-source suggests no packages. > > -- no debconf information