This file is indexed.

/usr/src/linux-source-3.13.0/debian/rules.d/5-udebs.mk is in linux-source-3.13.0 3.13.0-166.216.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Do udebs if not disabled in the arch-specific makefile
binary-udebs: binary-debs
	@echo Debug: $@
ifeq ($(disable_d_i),)
	@$(MAKE) --no-print-directory -f $(DROOT)/rules DEBIAN=$(DEBIAN) \
		do-binary-udebs
endif

do-binary-udebs: linux_udeb_name=$(shell if echo $(src_pkg_name)|egrep -q '(linux-lts|linux-hwe)'; then echo $(src_pkg_name); else echo linux; fi)
do-binary-udebs: debian/control
	@echo Debug: $@
	dh_testdir
	dh_testroot

	# unpack the kernels into a temporary directory
	mkdir -p debian/d-i-${arch}

	imagelist=$$(cat $(CURDIR)/$(DEBIAN)/d-i/kernel-versions | grep ^${arch} | gawk '{print $$3}') && \
	for f in $$imagelist; do \
	  i=$(release)-$(abinum)-$$f; \
          for f in \
		../linux-image-$$i\_$(release)-$(revision)_${arch}.deb \
		../linux-image-unsigned-$$i\_$(release)-$(revision)_${arch}.deb \
		../linux-modules-$$i\_$(release)-$(revision)_${arch}.deb \
		../linux-modules-extra-$$i\_$(release)-$(revision)_${arch}.deb; \
	  do \
		  [ -f $$f ] && dpkg -x $$f debian/d-i-${arch}; \
	  done; \
	  /sbin/depmod -b debian/d-i-${arch} $$i; \
	done

	# kernel-wedge will error if no modules unless this is touched
	touch $(CURDIR)/debian/build/no-modules

	touch ignore-dups
	export SOURCEDIR=$(CURDIR)/debian/d-i-${arch} && \
	  cd $(builddir) && \
	  kernel-wedge install-files && \
	  kernel-wedge check

        # Build just the udebs
	dilist=$$(dh_listpackages -s | grep "\-di$$") && \
	[ -z "$dilist" ] || \
	for i in $$dilist; do \
	  dh_fixperms -p$$i; \
	  $(lockme) dh_gencontrol -p$$i; \
	  dh_builddeb -p$$i; \
	done
	
	# Generate the meta-udeb dependancy lists.
	@gawk '										\
		/^Package:/ {								\
			package=$$2; flavour=""; parch="" }				\
		(/Package-Type: udeb/ && package !~ /^$(linux_udeb_name)-udebs-/) {      \
			match(package, "'$(release)'-'$(abinum)'-(.*)-di", bits);       \
			flavour = bits[1];						\
		}									\
		(/^Architecture:/ && $$0 " " ~ / '$(arch)'/) {				\
			parch=$$0;							\
		}									\
		(flavour != "" && parch != "") {					\
			udebs[flavour] = udebs[flavour] package ", ";			\
			flavour=""; parch="";						\
		}                                                      			\
		END {                                                  			\
			for (flavour in udebs) {					\
				package="$(linux_udeb_name)-udebs-" flavour;		\
				file="debian/" package ".substvars";			\
				print("udeb:Depends=" udebs[flavour]) > file;		\
				metas="'$(builddir)'/udeb-meta-packages";		\
				print(package) >metas					\
			}								\
		}									\
	' <$(CURDIR)/debian/control
	@while read i; do \
		$(lockme) dh_gencontrol -p$$i; \
		dh_builddeb -p$$i; \
	done <$(builddir)/udeb-meta-packages