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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125 | # beaglebone black alpha -1
## 1. update
$ sudo ubuntu-device-flash --revision -1 core 15.04 --channel alpha --oem beagleblack --install=webdm --enable-ssh --output ubuntu-15.04-snappy-armhf-alpha-bbb.img
[sudo] password for elopio:
Determining oem configuration
Starting download of beagleblack
280.78 KB / 280.78 KB [===================================] 100.00 % 82.51 KB/s
Done
Starting download of icon for package
31.24 KB / 31.24 KB [=====================================] 100.00 % 86.72 KB/s
Done
Fetching information from server...
Downloading and setting up...
32.80 MB / 32.80 MB [====================================] 100.00 % 287.91 KB/s
74.13 MB / 74.13 MB [====================================] 100.00 % 364.59 KB/s
Installing beagleblack
Starting download of beagleblack
280.78 KB / 280.78 KB [==================================] 100.00 % 231.55 KB/s
Done
Starting download of icon for package
31.24 KB / 31.24 KB [====================================] 100.00 % 154.64 KB/s
Done
Installing webdm
Starting download of webdm
6.16 MB / 6.16 MB [======================================] 100.00 % 215.09 KB/s
Done
Starting download of icon for package
38.97 KB / 38.97 KB [====================================] 100.00 % 108.74 KB/s
Done
New image complete
Summary:
Output: ubuntu-15.04-snappy-armhf-alpha-bbb.img
Architecture: armhf
Channel: alpha
Version: 3
elopio@calchas:/media/elopio/storage/Elŝutujo/installers/ubuntu/snappy/bbb$ mv ubuntu-15.04-snappy-armhf-alpha-bbb.img ubuntu-15.04-snappy-armhf-alpha-3-bbb.img
elopio@calchas:/media/elopio/storage/Elŝutujo/installers/ubuntu/snappy/bbb$ sudo dd if=ubuntu-15.04-snappy-armhf-alpha-3-bbb.img of=/dev/sdd bs=32M
116+1 rikordo eniĝis
116+1 rikordoj eliĝis
3900000000 bajtoj (3,9 GB) kopiiĝis, 758,771 s, 5,1 MB/s
elopio@calchas:/media/elopio/storage/Elŝutujo/installers/ubuntu/snappy/bbb$ sync
elopio@calchas:/media/elopio/storage/Elŝutujo/installers/ubuntu/snappy/bbb$ ssh ubuntu@webdm.local
Could not create directory '/home/elopio/.ssh'.
The authenticity of host 'webdm.local (192.168.2.196)' can't be established.
ECDSA key fingerprint is 3f:40:dd:70:3c:fa:41:93:07:8c:41:ca:ac:22:10:29.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/elopio/.ssh/known_hosts).
ubuntu@webdm.local's password:
Welcome to Ubuntu 15.04 (GNU/Linux 3.19.0-18-generic armv7l)
* Documentation: https://help.ubuntu.com/
Welcome to snappy Ubuntu Core, a transactionally updated Ubuntu.
* See https://ubuntu.com/snappy
It's a brave new world here in snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see 'snappy --help'
for app installation and transactional updates.
Last login: Mon Jul 13 18:01:56 2015
(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v
Name Date Version Developer
ubuntu-core 2015-06-10 3 ubuntu*
ubuntu-core 2015-06-10 3 ubuntu
webdm 2015-07-13 0.9 *
beagleblack 2015-07-13 1.8 *
(BeagleBoneBlack)ubuntu@localhost:~$ sudo snappy update
Installing ubuntu-core (4)
Syncing boot files
Starting download of ubuntu-core
Applying update[|]
Apply done
Updating boot files
71.73 MB / 71.73 MB [====================================] 100.00 % 132.84 KB/s
Done
Name Date Version Developer
ubuntu-core 2015-07-13 4 ubuntu!
Reboot to use the new ubuntu-core.
(BeagleBoneBlack)ubuntu@localhost:~$
(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v
Name Date Version Developer
ubuntu-core 2015-06-10 3 ubuntu*
ubuntu-core 2015-07-13 4 ubuntu!
webdm 2015-07-13 0.9 *
beagleblack 2015-07-13 1.8 *
Reboot to use the new ubuntu-core.
(BeagleBoneBlack)ubuntu@localhost:~$ sudo reboot
Connection to webdm.local closed by remote host.
Connection to webdm.local closed.
elopio@calchas:/media/elopio/storage/Elŝutujo/installers/ubuntu/snappy/bbb$ ssh ubuntu@webdm.local
Could not create directory '/home/elopio/.ssh'.
The authenticity of host 'webdm.local (192.168.2.196)' can't be established.
ECDSA key fingerprint is 3f:40:dd:70:3c:fa:41:93:07:8c:41:ca:ac:22:10:29.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/elopio/.ssh/known_hosts).
ubuntu@webdm.local's password:
Welcome to Ubuntu 15.04 (GNU/Linux 3.19.0-22-generic armv7l)
* Documentation: https://help.ubuntu.com/
Welcome to snappy Ubuntu Core, a transactionally updated Ubuntu.
* See https://ubuntu.com/snappy
It's a brave new world here in snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see 'snappy --help'
for app installation and transactional updates.
Last login: Mon Jul 13 18:18:40 2015 from calchas.lan
(BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v
Name Date Version Developer
ubuntu-core 2015-07-13 4 ubuntu*
ubuntu-core 2015-06-10 3 ubuntu
webdm 2015-07-13 0.9 canonical*
beagleblack 2015-07-13 1.8 canonical*
## 2. rollback
$ sudo snappy rollback ubuntu-core 3
$ sudo reboot
|