@@ -12,17 +12,17 @@ class MyClass
12
12
# pp u.installed
13
13
# u.generate_manifest
14
14
# u.generate_manifest(".rspec_status")
15
- # u.parse_manifest (".rspec_status").each do |line|
15
+ # u.manifest_readlines (".rspec_status").each do |line|
16
16
# puts line.split("\t").first
17
17
# end
18
18
# puts u.manifest_package(".rspec_status") - u.installed_by_user
19
19
20
- # raspi_server_pkgs = u.manifest_package("manifest/rel/ubuntu-22.04.1-preinstalled-server-arm64+raspi.manifest")
21
- # raspi_desktop_pkgs = u.manifest_package("manifest/rel/ubuntu-22.04.1-preinstalled-desktop-arm64+raspi.manifest")
20
+ # raspi_server_pkgs = u.manifest_package("../ manifest/ubuntu /rel/ubuntu-22.04.1-preinstalled-server-arm64+raspi.manifest")
21
+ # raspi_desktop_pkgs = u.manifest_package("../ manifest/ubuntu /rel/ubuntu-22.04.1-preinstalled-desktop-arm64+raspi.manifest")
22
22
23
23
# raspi_desktop = raspi_desktop_pkgs - raspi_server_pkgs
24
24
# puts raspi_desktop
25
- # puts server_pkgs - desktop_pkgs
25
+ # puts raspi_server_pkgs - raspi_desktop_pkgs
26
26
27
27
# comm_desktop = raspi_desktop.filter do |pkg|
28
28
# pkg != "pi-bluetooth" &&
@@ -32,15 +32,15 @@ class MyClass
32
32
# end
33
33
# puts comm_desktop
34
34
35
- base_pkg = u . manifest_package ( "manifest/jammy-base-arm64.manifest" )
36
- live_server_pkgs = u . manifest_package ( "manifest/jammy-live-server-arm64.manifest" )
37
- live_desktop_pkgs = u . manifest_package ( "manifest/jammy-desktop-arm64.manifest" )
35
+ base_pkg = u . manifest_package ( "../ manifest/ubuntu /jammy-base-arm64.manifest" )
36
+ live_server_pkgs = u . manifest_package ( "../ manifest/ubuntu /jammy-live-server-arm64.manifest" )
37
+ live_desktop_pkgs = u . manifest_package ( "../ manifest/ubuntu /jammy-desktop-arm64.manifest" )
38
38
39
39
server = live_server_pkgs - base_pkg
40
40
desktop = live_desktop_pkgs - base_pkg
41
41
42
42
# puts server
43
43
# puts desktop
44
44
45
- puts u . can_install ( desktop )
46
- # puts u.can_from_file ("install.txt")
45
+ # puts u.can_install(desktop)
46
+ puts u . can_install ( "install.txt" )
0 commit comments