[Bug 371572] [NEW] mk-sbuild-lv: adds deb-src lines to sources.list for no reason

Ryan Niebur RyanRyan52 at gmail.com
Mon May 4 09:24:08 UTC 2009


Public bug reported:

Binary package hint: ubuntu-dev-tools

I'm assuming that most people are only using their sbuild chroots for
building packages, and aren't running "apt-get source" inside of them
much. So is there any reason to have deb-src lines in the sources.list
by default? imo, it seems like it would be fine to leave them commented
out. here's a (untested, sorry) patch to comment them out by default.

--- mk-sbuild-lv        2009-05-04 02:12:07.000000000 -0700
+++ mk-sbuild-lv.deb-src        2009-05-04 02:14:38.000000000 -0700
@@ -283,17 +283,17 @@
 else
     cat > "$TEMP_SOURCES" <<EOM
 deb ${DEBOOTSTRAP_MIRROR} RELEASE ${COMPONENTS}
-deb-src ${DEBOOTSTRAP_MIRROR} RELEASE ${COMPONENTS}
+#deb-src ${DEBOOTSTRAP_MIRROR} RELEASE ${COMPONENTS}
 EOM
     if [ -z "$SKIP_UPDATES" ]; then
         cat >> "$TEMP_SOURCES" <<EOM
 deb ${DEBOOTSTRAP_MIRROR} RELEASE-updates ${COMPONENTS}
-deb-src ${DEBOOTSTRAP_MIRROR} RELEASE-updates ${COMPONENTS}
+#deb-src ${DEBOOTSTRAP_MIRROR} RELEASE-updates ${COMPONENTS}
 EOM
     fi
     cat >> "$TEMP_SOURCES" <<EOM
 deb ${SOURCES_SECURITY_URL} ${SOURCES_SECURITY_SUITE} ${COMPONENTS}
-deb-src ${SOURCES_SECURITY_URL} ${SOURCES_SECURITY_SUITE} ${COMPONENTS}
+#deb-src ${SOURCES_SECURITY_URL} ${SOURCES_SECURITY_SUITE} ${COMPONENTS}
 EOM
 fi
 cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mk-sbuild-lv: adds deb-src lines to sources.list for no reason
https://bugs.launchpad.net/bugs/371572
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in ubuntu.




More information about the universe-bugs mailing list