add the initramfs-tools-ubuntu-core package source #6

Merged
merged 6 commits into from Apr 25, 2017

Conversation

Projects
None yet
3 participants
Contributor

ogra1 commented Apr 20, 2017

No description provided.

mvo5 approved these changes Apr 25, 2017

Looks fine, I still added some comments. Probably best to address in follow-up brances because this is just a verbatim copy of the package. But especially the Vcs-Bzr header we should fix and the others are worth considering as well IMO.

initramfs/debian/bzr-builddeb.conf
@@ -0,0 +1,2 @@
+[BUILDDEB]
+native = True
@mvo5

mvo5 Apr 25, 2017

Contributor

Given that this is in git now, do we still need this file?

initramfs/debian/control
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+Build-Depends: debhelper (>= 9), debootstrap, lsb-release, fakeroot, fakechroot
+Standards-Version: 3.9.5
+Vcs-Bzr: lp:ubuntu/initramfs-tools-ubuntu-core
@mvo5

mvo5 Apr 25, 2017

Contributor

This is no longer accurate.

initramfs/debian/rules
+override_dh_auto_test:
+ @set -e; for f in scripts/*; do \
+ echo "Checking shell syntax of $$f"; \
+ sh -n $$f; \
@mvo5

mvo5 Apr 25, 2017

Contributor

Having shellcheck here would be nice (probably needs some excludes because the file is sourced).

@mvo5

mvo5 Apr 25, 2017

Contributor

Also this really should check the script in local-premount as well :/

@ogra1

ogra1 Apr 25, 2017

Contributor

i have a branch half ready that uses shellcheck on commits, i didnt want to add shellcheck (universe) to the build deps because that would make a possible MIR harder ...

Contributor

mvo5 commented Apr 25, 2017

Before I forget, one problem with this approach is that we loose all the (bzr) history. But it looks like we almost have none of this anyway.

Contributor

ogra1 commented Apr 25, 2017

the bzr history is exactly one commit "add to bzr" ... not really worth keeping :)

I have no idea what I'm looking at TBH. I can approve it but it is purely based on trust.

Contributor

ogra1 commented Apr 25, 2017

@zyga this is simply the current source deb of initramfs-tools-ubuntu-core from the PPA unpacked into the initramfs/ subdir (plus the three changes michael asked about) nothing fancy about it ...

@zyga zyga merged commit eb01ed5 into snapcore:master Apr 25, 2017

@ogra1 ogra1 deleted the ogra1:add-initrd branch Apr 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment