This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
11
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4535c5323a
diskimage-builder
/
elements
/
ubuntu
/
element-deps
4 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Move the dpkg specific stuff to a dpkg element rather than being hardcoded. This includes the install-packages implementation for dpkg, apt http proxy config, daemon blocking and unblocking. Change-Id: I8f159021d2b223d7003cec067de3aa605ad06974
2013-02-13 22:16:00 +00:00
dpkg
Use dib-run-parts for running scripts in target Also modified dib-run-parts to apply a more workable solution for filtering out unwanted files such as editor backups and VCS. The script is installed in its own element, depended on by the OS specific ubuntu element. This is because the ubuntu element (and later other OS's) are responsible for populating the root filesystem. If we try to install this in base, the root filesystem will look to be populated already and we will skip automatically choosing ubuntu. Change-Id: I017646748c1a8360299106289b57d976d45875a8
2013-02-14 18:20:30 +00:00
dib-run-parts
Re-use cache_url() in fedora element. The fedora element downloads images too, so we should re-use the caching code from the ubuntu element. There doesn't seem to be other examples of code shared between root.d scripts. In the fedora and dpkg elements we copy install-packages into the chroot, but that model doesn't apply when we're running scripts outside of the chroot. Seems sane to just run it directly from the bin/ dir in the temporary hooks directory. Change-Id: Iaa6aca660042fea323cab4271633a4bdbbc271b8
2013-06-17 15:26:02 +00:00
cache-url
Reference in New Issue
Copy Permalink