Merge lp:~ubuntu-branches/ubuntu/oneiric/base-files/oneiric-201105041859 into lp:ubuntu/oneiric/base-files

Proposed by James Westby
Status: Merged
Merged at revision: 75
Proposed branch: lp:~ubuntu-branches/ubuntu/oneiric/base-files/oneiric-201105041859
Merge into: lp:ubuntu/oneiric/base-files
Diff against target: 125 lines (+44/-6) (has conflicts)
4 files modified
debian/1777-dirs (+0/-1)
debian/changelog (+12/-0)
debian/directory-list (+1/-2)
debian/postinst.in (+31/-3)
Text conflict in debian/changelog
Text conflict in debian/postinst.in
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/oneiric/base-files/oneiric-201105041859
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+59981@code.launchpad.net

Description of the change

The package history in the archive and the history in the bzr branch differ. As the archive is authoritative the history of lp:ubuntu/oneiric/base-files now reflects that and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/oneiric/base-files/oneiric-201105041859. A merge should be performed if necessary.

To post a comment you must log in.
Revision history for this message
James Westby (james-w) wrote :

Hi,

It appears as though Scott had changes that were staged in bzr and not uploaded,
and they weren't part of the next upload.

Thanks,

James

Revision history for this message
Colin Watson (cjwatson) wrote :

Indeed - i.e. real merge required.

Revision history for this message
Scott Moser (smoser) wrote :

Well, Scott's changes can fairly easily be re-applied to current oneiric. His changelog entries describe the conflicting changes.
http://paste.ubuntu.com/628527/

Revision history for this message
Barry Warsaw (barry) wrote :

I'll sponsor the patch, but I do get one warning when I install the resulting .deb:

(Reading database ... 298323 files and directories currently installed.)
Preparing to replace base-files 6.3ubuntu2 (using base-files_6.3ubuntu3_amd64.deb) ...
Unpacking replacement base-files ...
dpkg: warning: unable to delete old directory '/var/lock': Device or resource busy
Setting up base-files (6.3ubuntu3) ...
Processing triggers for man-db ...
Processing triggers for install-info ...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/1777-dirs'
--- debian/1777-dirs 2002-02-08 16:36:54 +0000
+++ debian/1777-dirs 2011-05-04 19:04:14 +0000
@@ -1,3 +1,2 @@
1tmp1tmp
2var/lock
3var/tmp2var/tmp
43
=== modified file 'debian/changelog'
--- debian/changelog 2011-05-04 10:31:43 +0000
+++ debian/changelog 2011-05-04 19:04:14 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1base-files (6.3ubuntu1) oneiric; urgency=low2base-files (6.3ubuntu1) oneiric; urgency=low
23
3 * Merge with Debian; remaining changes:4 * Merge with Debian; remaining changes:
@@ -160,6 +161,17 @@
160 -- Santiago Vila <sanvila@debian.org> Sun, 31 Jan 2010 13:16:14 +0100161 -- Santiago Vila <sanvila@debian.org> Sun, 31 Jan 2010 13:16:14 +0100
161162
162base-files (5.0.0ubuntu29) oneiric; urgency=low163base-files (5.0.0ubuntu29) oneiric; urgency=low
164=======
165base-files (5.0.0ubuntu30) UNRELEASED; urgency=low
166
167 * debian/1777-dirs: remove /var/lock (replaced by /run/lock on tmpfs)
168 * debian/directory-list: remove /var/run and /var/lock, add /run
169 * debian/postinst.in: replace references to /var/run with /run
170
171 -- Scott James Remnant <scott@netsplit.com> Tue, 03 May 2011 14:33:55 -0700
172
173base-files (5.0.0ubuntu29) natty; urgency=low
174>>>>>>> MERGE-SOURCE
163175
164 * /etc/issue, /etc/issue.net, /etc/lsb-release: Welcome to Oneiric!176 * /etc/issue, /etc/issue.net, /etc/lsb-release: Welcome to Oneiric!
165177
166178
=== modified file 'debian/directory-list'
--- debian/directory-list 2011-05-04 10:31:43 +0000
+++ debian/directory-list 2011-05-04 19:04:14 +0000
@@ -12,6 +12,7 @@
12mnt12mnt
13proc13proc
14root14root
15run
15sbin16sbin
16tmp17tmp
17usr18usr
@@ -34,8 +35,6 @@
34var/lib/dpkg35var/lib/dpkg
35var/lib/misc36var/lib/misc
36var/local37var/local
37var/lock
38var/log38var/log
39var/run
40var/spool39var/spool
41var/tmp40var/tmp
4241
=== modified file 'debian/postinst.in'
--- debian/postinst.in 2011-05-04 10:31:43 +0000
+++ debian/postinst.in 2011-05-04 19:04:14 +0000
@@ -67,6 +67,7 @@
67 echo -n>/var/log/lastlog67 echo -n>/var/log/lastlog
68 fi68 fi
69 chown root:utmp /var/log/wtmp /var/log/btmp /var/log/lastlog69 chown root:utmp /var/log/wtmp /var/log/btmp /var/log/lastlog
70<<<<<<< TREE
70 chmod 664 /var/log/wtmp /var/log/lastlog71 chmod 664 /var/log/wtmp /var/log/lastlog
71 chmod 660 /var/log/btmp72 chmod 660 /var/log/btmp
72 if [ ! -f /var/run/utmp ]; then73 if [ ! -f /var/run/utmp ]; then
@@ -75,6 +76,33 @@
75 chown root:utmp /var/run/utmp76 chown root:utmp /var/run/utmp
76 chmod 664 /var/run/utmp77 chmod 664 /var/run/utmp
77fi78fi
79=======
80 chmod 664 /var/log/wtmp /var/log/btmp /var/log/lastlog
81fi
82
83if [ "$1" = "configure" ] && [ "$2" != "" ]; then
84 if [ ! -d /var/spool/mail ] && [ ! -L /var/spool/mail ]; then
85 if [ -f /etc/base-files.mailsymlink ]; then
86 ln -sf `cat /etc/base-files.mailsymlink` /var/spool/mail
87 else
88 install_directory var/spool/mail 2775 mail
89 fi
90 fi
91 if [ ! -L /var/mail ] && [ ! -d /var/mail ]; then
92 ln -sf spool/mail /var/mail
93 fi
94fi
95
96preserve_directory floppy
97preserve_directory cdrom
98preserve_directory initrd
99
100if [ ! -f /run/utmp ]; then
101 echo -n>/run/utmp
102fi
103chown root:utmp /run/utmp
104chmod 664 /run/utmp
105>>>>>>> MERGE-SOURCE
78106
79if [ ! -d /var/lib/dpkg ]; then107if [ ! -d /var/lib/dpkg ]; then
80 mkdir -m 755 -p /var/lib/dpkg108 mkdir -m 755 -p /var/lib/dpkg
@@ -93,12 +121,12 @@
93fi121fi
94122
95# Establish a fresh MOTD on package upgrade, ensures that the symlink is not broken123# Establish a fresh MOTD on package upgrade, ensures that the symlink is not broken
96[ -d "/etc/update-motd.d" ] && run-parts --lsbsysinit /etc/update-motd.d > /var/run/motd || true124[ -d "/etc/update-motd.d" ] && run-parts --lsbsysinit /etc/update-motd.d > /run/motd || true
97125
98if dpkg --compare-versions "$2" lt 5.0.0ubuntu17 && [ ! -e "/etc/motd" ]; then126if dpkg --compare-versions "$2" lt 5.0.0ubuntu17 && [ ! -e "/etc/motd" ]; then
99 # Create symlink on installation (or versioned upgrade);127 # Create symlink on installation (or versioned upgrade);
100 # thereafter, the admin is free to modify accordingly128 # thereafter, the admin is free to modify accordingly
101 ln -sf /var/run/motd /etc/motd129 ln -sf /run/motd /etc/motd
102fi130fi
103131
104if [ "$1" = "configure" ] && [ "$2" != "" ]; then132if [ "$1" = "configure" ] && [ "$2" != "" ]; then
@@ -109,7 +137,7 @@
109 # text to the pam_motd dynamically generated motd137 # text to the pam_motd dynamically generated motd
110 mv -f /etc/motd.tail /etc/motd.tail.old138 mv -f /etc/motd.tail /etc/motd.tail.old
111 # Clear out old MOTD, will be regenerated on next login139 # Clear out old MOTD, will be regenerated on next login
112 rm -f /var/run/motd140 rm -f /run/motd
113 fi141 fi
114 fi142 fi
115 # If we're upgrading base-files, remove the upgrade-available flag143 # If we're upgrading base-files, remove the upgrade-available flag

Subscribers

People subscribed via source and target branches

to all changes: