Ubuntu Pastebin

Paste from longsleep at Mon, 9 Nov 2015 17:26:36 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#!/bin/sh
set -e

# This fixes https://bugs.launchpad.net/snappy/+bug/1511435
#
# From IRC:
# Chipaca:#snappy> longsleep: /lib/systemd/system/ubuntu-snappy.run-hooks.service
# 17:58 < Chipaca:#snappy> longsleep: change it from After=firstboot to Before=firstboot
# 17:58 < Chipaca:#snappy> longsleep: \o/

echo "I: Fixing snappy.run-hooks service to run before firstboot"
sed -i 's,After=ubuntu-snappy.firstboot.service,Before=ubuntu-snappy.firstboot.service,' \
	/lib/systemd/system/ubuntu-snappy.run-hooks.service
Download as text